mirror of
https://codeberg.org/teddit/teddit
synced 2025-01-05 07:17:29 +01:00
fix theme drop-down's duplicated options problem
This commit is contained in:
parent
fcb2f329ee
commit
199e9712aa
@ -34,22 +34,22 @@ html
|
|||||||
select(id="theme", name="theme")
|
select(id="theme", name="theme")
|
||||||
if(!user_preferences.theme || user_preferences.theme === 'auto')
|
if(!user_preferences.theme || user_preferences.theme === 'auto')
|
||||||
option(value="auto", selected="selected") Auto
|
option(value="auto", selected="selected") Auto
|
||||||
option(value="") White
|
option(value="white") White
|
||||||
option(value="dark") Dark
|
option(value="dark") Dark
|
||||||
option(value="sepia") Sepia
|
option(value="sepia") Sepia
|
||||||
if(user_preferences.theme == '')
|
if(user_preferences.theme == 'white')
|
||||||
option(value="auto") Auto
|
option(value="auto") Auto
|
||||||
option(value="", selected="selected") White
|
option(value="white", selected="selected") White
|
||||||
option(value="dark") Dark
|
option(value="dark") Dark
|
||||||
option(value="sepia") Sepia
|
option(value="sepia") Sepia
|
||||||
if(user_preferences.theme === 'dark')
|
if(user_preferences.theme === 'dark')
|
||||||
option(value="auto") Auto
|
option(value="auto") Auto
|
||||||
option(value="") White
|
option(value="white") White
|
||||||
option(value="dark", selected="selected") Dark
|
option(value="dark", selected="selected") Dark
|
||||||
option(value="sepia") Sepia
|
option(value="sepia") Sepia
|
||||||
if(user_preferences.theme === 'sepia')
|
if(user_preferences.theme === 'sepia')
|
||||||
option(value="auto") Auto
|
option(value="auto") Auto
|
||||||
option(value="") White
|
option(value="white") White
|
||||||
option(value="dark") Dark
|
option(value="dark") Dark
|
||||||
option(value="sepia", selected="selected") Sepia
|
option(value="sepia", selected="selected") Sepia
|
||||||
.setting
|
.setting
|
||||||
|
Loading…
Reference in New Issue
Block a user