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

v1.18.x
Julian Lam 6 years ago
parent e1ca2d81f9
commit 3859d417ce

@ -152,6 +152,11 @@ app.cacheBuster = null;
app.reskin(data.config.bootswatchSkin); app.reskin(data.config.bootswatchSkin);
translator.switchTimeagoLanguage(callback); translator.switchTimeagoLanguage(callback);
bootbox.setLocale(config.userLang); bootbox.setLocale(config.userLang);
if (config.searchEnabled) {
app.handleSearch();
}
$(window).trigger('action:app.updateHeader'); $(window).trigger('action:app.updateHeader');
}); });
}); });

Loading…
Cancel
Save