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