fix: pulling not opening if toggled before event handler added

main
Julian Lam 6 years ago
parent eb106ad090
commit 8ebc7dcc1d

@ -222,6 +222,11 @@ $(document).ready(function() {
navSlideout.enable().toggle();
});
// Handle sidebar clicks while page still loading
if (document.getElementById('mobile-menu') === document.activeElement) {
navSlideout.enable().toggle();
}
function loadNotifications() {
require(['notifications'], function(notifications) {
notifications.loadNotifications($('#menu [data-section="notifications"] ul'));

Loading…
Cancel
Save