fix: remove early click handling for sidebar

superceded by nodebb/nodebb@8437130ec2
main
Julian Lam 4 years ago
parent d6b419e3ab
commit dfd07e765c

@ -247,11 +247,6 @@ $(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