mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55: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"),
|
var searchButton = $("#search-button"),
|
||||||
searchFields = $("#search-fields"),
|
searchFields = $("#search-fields"),
|
||||||
searchInput = $('#search-fields input');
|
searchInput = $('#search-fields input');
|
||||||
@@ -516,7 +516,7 @@ app.cacheBuster = null;
|
|||||||
handleStatusChange();
|
handleStatusChange();
|
||||||
|
|
||||||
if (config.searchEnabled) {
|
if (config.searchEnabled) {
|
||||||
handleSearch();
|
app.handleSearch();
|
||||||
}
|
}
|
||||||
|
|
||||||
handleNewTopic();
|
handleNewTopic();
|
||||||
|
|||||||
Reference in New Issue
Block a user