mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 06:49:26 +01:00
Fixed: Theme of wiki and saved pages were set to white even though
the setting was auto and the browser had a dark theme.
This commit is contained in:
parent
24c55d8708
commit
88621b9ecd
@ -3,7 +3,7 @@ html
|
||||
head
|
||||
title saved
|
||||
include includes/head.pug
|
||||
body(class=""+ user_preferences.theme +"")
|
||||
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
|
||||
include includes/topbar.pug
|
||||
if json === null
|
||||
h1 No saved posts
|
||||
|
@ -3,7 +3,7 @@ html
|
||||
head
|
||||
title wiki /r/#{subreddit}
|
||||
include includes/head.pug
|
||||
body(class=""+ user_preferences.theme +"")
|
||||
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
|
||||
include includes/topbar.pug
|
||||
if json === null
|
||||
h1 Error occured
|
||||
|
Loading…
Reference in New Issue
Block a user