mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-07 20:02:32 +01:00
fix nsfw warning on posts
This commit is contained in:
parent
6001d0037f
commit
653ed87da1
@ -10,7 +10,7 @@ html
|
|||||||
p #{JSON.stringify(error_data)}
|
p #{JSON.stringify(error_data)}
|
||||||
else
|
else
|
||||||
#post
|
#post
|
||||||
if post.over_18 && (instance_nsfw_enabled === false && user_preferences.nsfw_enabled != 'true') || user_preferences.nsfw_enabled === 'false'
|
if (post.over_18 && instance_nsfw_enabled === false && user_preferences.nsfw_enabled != 'true') || (post.over_18 && user_preferences.nsfw_enabled === 'false')
|
||||||
.nsfw-warning
|
.nsfw-warning
|
||||||
span 18+
|
span 18+
|
||||||
h2 You must be 18+ to view this community
|
h2 You must be 18+ to view this community
|
||||||
|
Loading…
Reference in New Issue
Block a user