Skip to content

Commit

Permalink
Update startup.js.hbs
Browse files Browse the repository at this point in the history
Removed a leftover debugger statement
  • Loading branch information
AMoo-Miki authored Feb 8, 2024
1 parent f56628a commit bd20c99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/legacy/ui/ui_render/bootstrap/startup.js.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var browserThemeVersion = uiSettings['theme:version'] || {};

var rawDarkMode = typeof browserDarkMode.userValue !== 'boolean' ? {{configDarkMode}} : browserDarkMode.userValue;

debugger;
if (useBrowserColorScheme && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches !== rawDarkMode) {
uiSettings['theme:darkMode'] = window.matchMedia('(prefers-color-scheme: dark)').matches;
window.localStorage.setItem('uiSettings', JSON.stringify(uiSettings));
Expand Down

0 comments on commit bd20c99

Please sign in to comment.