Skip to content

Commit

Permalink
Rename query function
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes authored May 15, 2018
1 parent d2121e4 commit fbafe58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/search/google-search-scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 == '') {
Expand All @@ -23,9 +23,9 @@
{% if site.google.instant_search %}
$(document).ready(function () {
$('input#cse-search-input-box-id').on('keyup', function () {
executeQuery();
googleCustomSearchExecute();
}
);
});
{% endif %}
</script>
</script>

0 comments on commit fbafe58

Please sign in to comment.