From d4aaa3b30b7ec48166b41f37e1d3a66dbfd815ab Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Thu, 21 Mar 2024 23:01:30 +0300 Subject: [PATCH] Update skin.js --- web/skins/classic/js/skin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/js/skin.js b/web/skins/classic/js/skin.js index f7d4d91ae..a005e646d 100644 --- a/web/skins/classic/js/skin.js +++ b/web/skins/classic/js/skin.js @@ -292,6 +292,7 @@ if ( currentView != 'none' && currentView != 'login' ) { const objIconButton = _this_.find("i"); const obj = $j(_this_.attr('data-flip-сontrol-object')); + obj.removeClass('hidden'); if ( obj.is(":visible") ) { if (objIconButton.is('[class="material-icons"]')) { // use material-icons objIconButton.html(objIconButton.attr('data-icon-hidden')); @@ -318,7 +319,6 @@ if ( currentView != 'none' && currentView != 'login' ) { const objIconButton = _this_.find("i"); const obj = $j(_this_.attr('data-flip-сontrol-object')); - obj.removeClass('hidden'); if (сookie == 'hidden') { if (objIconButton.is('[class="material-icons"]')) { // use material-icons objIconButton.html(objIconButton.attr('data-icon-hidden'));