From dfd07e765ce3ca41a4d68ea36cf5561e24436ceb Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 30 Sep 2020 09:54:55 -0400 Subject: [PATCH] fix: remove early click handling for sidebar superceded by nodebb/nodebb@8437130ec2bd18d4e94db2980a50610c98844620 --- public/persona.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/public/persona.js b/public/persona.js index 46a3aba..0ddd8d1 100644 --- a/public/persona.js +++ b/public/persona.js @@ -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'));