diff options
author | Håkon Solbjørg <hakon@solbj.org> | 2023-04-02 19:38:04 +0200 |
---|---|---|
committer | Håkon Solbjørg <hakon@solbj.org> | 2023-04-02 19:38:29 +0200 |
commit | ea103d1b32f3fa898ab3f164e3e8bfe37fdb71a9 (patch) | |
tree | b4fe4397e1312c49a4c921a46989118f9668ec4d /web/js/bootstrap.min.js | |
parent | f41402f56282320473843df8726d5e04878427ca (diff) |
fix(nightmode): Respect user provided configuration for night mode if providedfix/night-mode-respect-user-configuration
If user sets the cookie or URL query parameter for nightMode, we will
respect that. Note that it is a bit cumbersome to _clear_ this
configuration (afaik?) if it is set.
This is also the case if the user toggles nightmode directly in Gondul
(`n`).
However, this last configuration is not persisted - so on a page reload,
this setting is removed (no need to clear cookies/query params), and
the system preference is again followed.
Diffstat (limited to 'web/js/bootstrap.min.js')
0 files changed, 0 insertions, 0 deletions