mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-25 08:39:26 +01:00
Merge pull request 'Theme is set to "Auto" when no theme is selected.' (#170) from meyagci/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/170
This commit is contained in:
commit
e6fd980ca9
@ -32,7 +32,12 @@ html
|
||||
.setting
|
||||
label(for="theme") Theme:
|
||||
select(id="theme", name="theme")
|
||||
if(!user_preferences.theme || user_preferences.theme == '')
|
||||
if(!user_preferences.theme || user_preferences.theme === 'auto')
|
||||
option(value="auto", selected="selected") Auto
|
||||
option(value="") White
|
||||
option(value="dark") Dark
|
||||
option(value="sepia") Sepia
|
||||
if(user_preferences.theme == '')
|
||||
option(value="auto") Auto
|
||||
option(value="", selected="selected") White
|
||||
option(value="dark") Dark
|
||||
@ -47,11 +52,6 @@ html
|
||||
option(value="") White
|
||||
option(value="dark") Dark
|
||||
option(value="sepia", selected="selected") Sepia
|
||||
if(user_preferences.theme === 'auto')
|
||||
option(value="auto", selected="selected") Auto
|
||||
option(value="") White
|
||||
option(value="dark") Dark
|
||||
option(value="sepia") Sepia
|
||||
.setting
|
||||
label(for="flairs") Show flairs:
|
||||
if(!user_preferences.flairs || user_preferences.flairs == 'true')
|
||||
|
Loading…
Reference in New Issue
Block a user