Skip to content

Node.js based forum software built for the modern web

fix: #7236, header search stops working after header update

Julian Lam3859d417cea8
diff --git a/public/src/app.js b/public/src/app.js
index f7d7ec4510..bf68b520c8 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -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');
});
});