Important fix for menu item not able to be visited due to e.preventDefault.

This commit is contained in:
Frank419 2024-08-28 16:29:32 +08:00
parent 24d8b81e06
commit bf6551ad93

View File

@ -7,8 +7,7 @@ jQuery(document).ready(function($){
e.preventDefault()
})
$("body").removeClass("loading")
$(".menu-item-has-children").click(function(e){
e.preventDefault()
$(".menu-item-has-children").click(function(){
$(this).toggleClass("active")
$(this).parent().parent().toggleClass("active")
})