mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
made handleSearch public
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user