fix applies-to expander's collapse-on-click
This commit is contained in:
parent
70e3ba15b7
commit
17a0bd69c0
|
@ -664,7 +664,9 @@ function switchUI({styleOnly} = {}) {
|
|||
newUI.renderClass();
|
||||
installed.classList.toggle('has-favicons', newUI.enabled && newUI.favicons);
|
||||
installed.classList.toggle('favicons-grayed', newUI.enabled && newUI.faviconsGray);
|
||||
if (changed.targets) installed.style.setProperty('--num-targets', newUI.targets);
|
||||
if (installed.style.getPropertyValue('--num-targets') !== `${newUI.targets}`) {
|
||||
installed.style.setProperty('--num-targets', newUI.targets);
|
||||
}
|
||||
|
||||
if (styleOnly) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user