diff --git a/lib/persona.js b/lib/persona.js index 7a6aabf..69f1662 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -14,6 +14,10 @@ $(document).ready(function() { $(window).on('resize', utils.debounce(configureNavbarHiding, 200)); $(window).on('resize', fixHeaderPadding); + $(window).on('action:app.loggedIn', function () { + setupMobileMenu(); + }); + function fixHeaderPadding() { var env = utils.findBootstrapEnvironment(); if (env === 'sm' || env === 'xs' || env === 'md') { diff --git a/templates/header.tpl b/templates/header.tpl index 7fee372..90cd878 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -26,50 +26,10 @@