Skip to content

Commit dca9ba4

Browse files
authored
Update settings.js
1 parent eddbfa1 commit dca9ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/website/settings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class Settings
3030

3131
LoadFromCookies ()
3232
{
33-
const preferredColorScheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? Theme.Dark : Theme.Light;
33+
const preferredColorScheme = window.matchMedia ('(prefers-color-scheme: dark)').matches ? Theme.Dark : Theme.Light;
3434
this.themeId = CookieGetIntVal ('ov_theme_id', preferredColorScheme);
3535
this.environmentMapName = CookieGetStringVal ('ov_environment_map', 'fishermans_bastion');
3636
this.backgroundIsEnvMap = CookieGetBoolVal ('ov_background_is_envmap', false);

0 commit comments

Comments
 (0)