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