From 1b74bdc158465fb7d2ba22bd1f0d5b8611fff655 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 23 Feb 2017 09:52:02 +0100 Subject: [PATCH] fixed clicking links in sidebar --- js/sidebar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/sidebar.js b/js/sidebar.js index 60245bd..62e4d7e 100644 --- a/js/sidebar.js +++ b/js/sidebar.js @@ -104,7 +104,7 @@ jQuery(function () { * Initialize the open/close toggling of menu entries */ const initMenuHandling = function () { - $nav.on('click', 'a', function (e) { + $nav.on('click', 'a.nav', function (e) { toggleNav(jQuery(this)); e.preventDefault(); });