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