From 17347e2fc39077dea19641054e75344913b06a20 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Wed, 22 Sep 2021 15:22:47 +0000 Subject: [PATCH] Fix --- assets/javascripts/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 97acf0b..a5253d4 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -797,11 +797,11 @@ function transdate(){ window.has_hover = true; } $('.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'); } },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'); } })