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(); });