Skip to content

Commit

Permalink
Merge pull request #901 from AlexSem5399/master
Browse files Browse the repository at this point in the history
Prioritize custom CSS over modern UI CSS
  • Loading branch information
dimdenGD authored Aug 1, 2024
2 parents 6893761 + 7ae3f5d commit ff9fbcb
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 ff9fbcb

Please sign in to comment.