Fix: the style is injected twice
This commit is contained in:
parent
9a8a529793
commit
715d8e8d15
|
@ -100,8 +100,7 @@ function initGlobalEvents() {
|
||||||
setupLivePrefs();
|
setupLivePrefs();
|
||||||
sorter.init();
|
sorter.init();
|
||||||
|
|
||||||
$$('[id^="manage.newUI"]')
|
prefs.subscribe(['manage.newUI'], () => switchUI());
|
||||||
.forEach(el => (el.oninput = (el.onchange = switchUI)));
|
|
||||||
|
|
||||||
switchUI({styleOnly: true});
|
switchUI({styleOnly: true});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user