Skip to content

Commit 0f2cc2b

Browse files
Update +al.js
1 parent 1a9166a commit 0f2cc2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎+al.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
whiteFilterValue = '';
100100
}
101101
var mainColor = Lampa.Storage.get('color_plugin_main_color', '#ffffff').toLowerCase();
102-
var glassFilterValue = (mainColor === '#ffffff') ? 'none' : 'invert(1)';
102+
var glassFilterValue = (mainColor === '#ffffff') ? 'invert(1)' : 'none';
103103
var newStyle = '.settings-param[data-name="select_ani_mation"] .activity__loader_prv { display: inline-block; width: 23px; height: 24px; margin-right: 10px; vertical-align: middle; background: url(\'' + escapedUrl + '\') no-repeat 50% 50%; background-size: contain; background-color: transparent !important; filter: ' + whiteFilterValue + ' !important; -webkit-filter: ' + whiteFilterValue + ' !important; }' +
104104
'body.glass--style .settings-param.focus .settings-folder__icon .activity__loader_prv, ' +
105105
'body.glass--style .settings-param.focus .selectbox-item__checkbox { ' +
@@ -491,7 +491,7 @@
491491
});
492492
}
493493
Lampa.Storage.listener.follow('change', function (e) {
494-
if (e.name === 'color_plugin_main_color') {
494+
if (e.name === 'color_plugin_main_color' || e.name === 'interface_glass') {
495495
changeColor();
496496
}
497497
});

0 commit comments

Comments
 (0)