From 0a0a91d4b27b82aef4c528924075ad3c85178dcc Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Mon, 23 Sep 2013 14:51:59 -0400 Subject: [PATCH] remove listener --- public/src/forum/footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/forum/footer.js b/public/src/forum/footer.js index 7cec7d0ccc..eb04220b2c 100644 --- a/public/src/forum/footer.js +++ b/public/src/forum/footer.js @@ -95,7 +95,7 @@ right_menu.appendChild(loginEl); } - $('#main-nav a,#right-menu a').on('click', function() { + $('#main-nav a,#right-menu a').off('click').on('click', function() { if($('.navbar .navbar-collapse').hasClass('in')) $('.navbar-header button').click(); });