We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eddbfa1 commit dca9ba4Copy full SHA for dca9ba4
source/website/settings.js
@@ -30,7 +30,7 @@ export class Settings
30
31
LoadFromCookies ()
32
{
33
- const preferredColorScheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? Theme.Dark : Theme.Light;
+ const preferredColorScheme = window.matchMedia ('(prefers-color-scheme: dark)').matches ? Theme.Dark : Theme.Light;
34
this.themeId = CookieGetIntVal ('ov_theme_id', preferredColorScheme);
35
this.environmentMapName = CookieGetStringVal ('ov_environment_map', 'fishermans_bastion');
36
this.backgroundIsEnvMap = CookieGetBoolVal ('ov_background_is_envmap', false);
0 commit comments