diff --git a/static/js/fresh.js b/static/js/fresh.js index 6cec711..cf63bc6 100644 --- a/static/js/fresh.js +++ b/static/js/fresh.js @@ -33,7 +33,7 @@ $(document).ready(function(){ //Sidebar menu if ($('.sidebar').length) { - $(".sidebar-menu > li.have-children a").on("click", function(i){ + $(".sidebar-menu > li.have-children > a").on("click", function(i){ i.preventDefault(); if( ! $(this).parent().hasClass("active") ){ $(".sidebar-menu li ul").slideUp(); @@ -141,4 +141,4 @@ $(document).ready(function(){ } } }); -}) \ No newline at end of file +})