Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fbafe58

Browse files
authoredMay 15, 2018
Rename query function
1 parent d2121e4 commit fbafe58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎_includes/search/google-search-scripts.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
s.parentNode.insertBefore(gcse, s);
1010
})();
1111

12-
function executeQuery() {
12+
function googleCustomSearchExecute() {
1313
var input = document.getElementById('cse-search-input-box-id');
1414
var element = google.search.cse.element.getElement('searchresults-only0');
1515
if (input.value == '') {
@@ -23,9 +23,9 @@
2323
{% if site.google.instant_search %}
2424
$(document).ready(function () {
2525
$('input#cse-search-input-box-id').on('keyup', function () {
26-
executeQuery();
26+
googleCustomSearchExecute();
2727
}
2828
);
2929
});
3030
{% endif %}
31-
</script>
31+
</script>

0 commit comments

Comments
 (0)
Please sign in to comment.