@@ -33,7 +33,7 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
//Sidebar menu
|
//Sidebar menu
|
||||||
if ($('.sidebar').length) {
|
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();
|
i.preventDefault();
|
||||||
if( ! $(this).parent().hasClass("active") ){
|
if( ! $(this).parent().hasClass("active") ){
|
||||||
$(".sidebar-menu li ul").slideUp();
|
$(".sidebar-menu li ul").slideUp();
|
||||||
@@ -141,4 +141,4 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user