Fix
This commit is contained in:
parent
47f6f9dde2
commit
17347e2fc3
|
@ -797,11 +797,11 @@ function transdate(){
|
||||||
window.has_hover = true;
|
window.has_hover = true;
|
||||||
}
|
}
|
||||||
$('.sitemenu-item.level-1').hover(function(){
|
$('.sitemenu-item.level-1').hover(function(){
|
||||||
if(window.has_hover){
|
if(window.has_hover && !$(this).hasClass("active")){
|
||||||
$(this).find(".sitemenu-dropdown-toggle").addClass("fa-caret-up").removeClass('fa-caret-down');
|
$(this).find(".sitemenu-dropdown-toggle").addClass("fa-caret-up").removeClass('fa-caret-down');
|
||||||
}
|
}
|
||||||
},function(){
|
},function(){
|
||||||
if(window.has_hover){
|
if(window.has_hover && !$(this).hasClass("active")){
|
||||||
$(this).find(".sitemenu-dropdown-toggle").addClass("fa-caret-down").removeClass('fa-caret-up');
|
$(this).find(".sitemenu-dropdown-toggle").addClass("fa-caret-down").removeClass('fa-caret-up');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue