diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index 3031291c9..ad89cd7f5 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -436,8 +436,8 @@ $.fn.search = function(parameters) { else { module.error(error.source); } - settings.onSearchQuery.call(element, searchTerm); } + settings.onSearchQuery.call(element, searchTerm); } else { module.hideResults();