From fbafe58e40b1bd4a2628aef1eb5955ab57dcfaf4 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Tue, 15 May 2018 14:40:56 -0400 Subject: [PATCH] Rename query function --- _includes/search/google-search-scripts.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/search/google-search-scripts.html b/_includes/search/google-search-scripts.html index 849f470dc395..21ac5fbc9bb0 100644 --- a/_includes/search/google-search-scripts.html +++ b/_includes/search/google-search-scripts.html @@ -9,7 +9,7 @@ s.parentNode.insertBefore(gcse, s); })(); - function executeQuery() { + function googleCustomSearchExecute() { var input = document.getElementById('cse-search-input-box-id'); var element = google.search.cse.element.getElement('searchresults-only0'); if (input.value == '') { @@ -23,9 +23,9 @@ {% if site.google.instant_search %} $(document).ready(function () { $('input#cse-search-input-box-id').on('keyup', function () { - executeQuery(); + googleCustomSearchExecute(); } ); }); {% endif %} - \ No newline at end of file +