Update skin.js
parent
d4aaa3b30b
commit
bf3555fdcb
|
@ -292,7 +292,7 @@ if ( currentView != 'none' && currentView != 'login' ) {
|
|||
const objIconButton = _this_.find("i");
|
||||
const obj = $j(_this_.attr('data-flip-сontrol-object'));
|
||||
|
||||
obj.removeClass('hidden');
|
||||
obj.removeClass('hidden');
|
||||
if ( obj.is(":visible") ) {
|
||||
if (objIconButton.is('[class="material-icons"]')) { // use material-icons
|
||||
objIconButton.html(objIconButton.attr('data-icon-hidden'));
|
||||
|
@ -309,7 +309,7 @@ if ( currentView != 'none' && currentView != 'login' ) {
|
|||
setCookie('zmFilterBarFlip'+_this_.attr('data-flip-сontrol-object'), 'visible');
|
||||
}
|
||||
|
||||
obj.slideToggle("slow");
|
||||
obj.slideToggle("fast");
|
||||
});
|
||||
|
||||
// Manage visible filter bar & control button (after document ready)
|
||||
|
@ -319,6 +319,10 @@ if ( currentView != 'none' && currentView != 'login' ) {
|
|||
const objIconButton = _this_.find("i");
|
||||
const obj = $j(_this_.attr('data-flip-сontrol-object'));
|
||||
|
||||
if (obj.parent().css('display') != 'block') {
|
||||
obj.wrap('<div style="display: block"></div>');
|
||||
}
|
||||
|
||||
if (сookie == 'hidden') {
|
||||
if (objIconButton.is('[class="material-icons"]')) { // use material-icons
|
||||
objIconButton.html(objIconButton.attr('data-icon-hidden'));
|
||||
|
|
Loading…
Reference in New Issue