mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: #7236, header search stops working after header update
This commit is contained in:
@@ -152,6 +152,11 @@ app.cacheBuster = null;
|
||||
app.reskin(data.config.bootswatchSkin);
|
||||
translator.switchTimeagoLanguage(callback);
|
||||
bootbox.setLocale(config.userLang);
|
||||
|
||||
if (config.searchEnabled) {
|
||||
app.handleSearch();
|
||||
}
|
||||
|
||||
$(window).trigger('action:app.updateHeader');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user