diff --git a/public/persona.js b/public/persona.js index 62de601..13da7d6 100644 --- a/public/persona.js +++ b/public/persona.js @@ -4,9 +4,7 @@ $(document).ready(function () { setupNProgress(); - setupTaskbar(); setupEditedByIcon(); - setupMobileMenu(); setupQuickReply(); configureNavbarHiding(); fixHeaderPadding(); @@ -18,6 +16,11 @@ $(document).ready(function () { setupMobileMenu(); }); + $(window).on('action:app.load', function () { + setupTaskbar(); + setupMobileMenu(); + }); + function fixHeaderPadding() { var env = utils.findBootstrapEnvironment(); if (env === 'sm' || env === 'xs' || env === 'md') { @@ -443,7 +446,7 @@ $(document).ready(function () { if (quickreply) { quickreply.init(); } - }); + }); } $('.topic-main-buttons [title]').tooltip();