Skip to content

Node.js based forum software built for the modern web

made handleSearch public

Barış Soner Uşaklıa5c52958e760
diff --git a/public/src/app.js b/public/src/app.js
index f054575011..d13a6004ab 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -394,7 +394,7 @@ app.cacheBuster = null;
});
}
- function handleSearch() {
+ app.handleSearch = function () {
var searchButton = $("#search-button"),
searchFields = $("#search-fields"),
searchInput = $('#search-fields input');
@@ -516,7 +516,7 @@ app.cacheBuster = null;
handleStatusChange();
if (config.searchEnabled) {
- handleSearch();
+ app.handleSearch();
}
handleNewTopic();