diff --git a/views/preferences.pug b/views/preferences.pug index 252859a..6325086 100644 --- a/views/preferences.pug +++ b/views/preferences.pug @@ -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')