diff --git a/public/persona.js b/public/persona.js index 2a46218..d3699ed 100644 --- a/public/persona.js +++ b/public/persona.js @@ -2,7 +2,9 @@ $(document).ready(function () { setupNProgress(); + setupTaskbar(); setupEditedByIcon(); + setupMobileMenu(); setupQuickReply(); configureNavbarHiding(); updatePanelOffset(); @@ -10,13 +12,6 @@ $(document).ready(function () { $(window).on('resize', utils.debounce(configureNavbarHiding, 200)); $(window).on('resize', updatePanelOffset); - require(['hooks'], (hooks) => { - hooks.on('action:app.load', () => { - setupTaskbar(); - setupMobileMenu(); - }); - }); - function updatePanelOffset() { const headerEl = document.getElementById('header-menu');