diff --git a/less/mobile.less b/less/mobile.less index 111de19..4616fb7 100644 --- a/less/mobile.less +++ b/less/mobile.less @@ -1,3 +1,7 @@ +#menu { + display: none; +} + @media (max-width: 980px) { html { height: 100%; diff --git a/lib/persona.js b/lib/persona.js index 51993b4..ff3958b 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -168,6 +168,8 @@ $(document).ready(function() { }); $('#mobile-menu').on('click', function() { + $('#menu').show(); + if (!slideout.isOpen()) { require(['chat', 'notifications'], function(chat, notifications) { chat.loadChats($('#menu [data-section="chats"] ul')); diff --git a/templates/header.tpl b/templates/header.tpl index 1111b33..e3d22d2 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -38,7 +38,7 @@
-