mirror of
https://codeberg.org/teddit/teddit
synced 2025-01-31 03:25:11 +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
|
head
|
||||||
title saved
|
title saved
|
||||||
include includes/head.pug
|
include includes/head.pug
|
||||||
body(class=""+ user_preferences.theme +"")
|
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
|
||||||
include includes/topbar.pug
|
include includes/topbar.pug
|
||||||
if json === null
|
if json === null
|
||||||
h1 No saved posts
|
h1 No saved posts
|
||||||
|
@ -3,7 +3,7 @@ html
|
|||||||
head
|
head
|
||||||
title wiki /r/#{subreddit}
|
title wiki /r/#{subreddit}
|
||||||
include includes/head.pug
|
include includes/head.pug
|
||||||
body(class=""+ user_preferences.theme +"")
|
body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "")
|
||||||
include includes/topbar.pug
|
include includes/topbar.pug
|
||||||
if json === null
|
if json === null
|
||||||
h1 Error occured
|
h1 Error occured
|
||||||
|
Loading…
x
Reference in New Issue
Block a user