Skip to content

Commit

Permalink
Prioritize custom CSS over modern UI CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSem5399 committed Aug 1, 2024
1 parent 6893761 commit 7ae3f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/header/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -3099,10 +3099,10 @@ setInterval(() => {
setTimeout(hideStuff, 1000); // weird issue on firefox

// custom css
document.addEventListener('modernUI', e => switchModernUI(e.detail));
document.addEventListener('customCSS', updateCustomCSS);
document.addEventListener('customCSSVariables', () => switchDarkMode(isDarkModeEnabled));
document.addEventListener('roundAvatars', e => switchRoundAvatars(e.detail));
document.addEventListener('modernUI', e => switchModernUI(e.detail));

// hotkeys
if(!vars.disableHotkeys) {
Expand Down

0 comments on commit 7ae3f5d

Please sign in to comment.