made handleSearch public

This commit is contained in:
Barış Soner Uşaklı
2015-04-23 16:06:27 -04:00
parent e88d88e56c
commit a5c52958e7

View File

@@ -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();