mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-06 11:12:33 +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)}
|
||||
else
|
||||
#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
|
||||
span 18+
|
||||
h2 You must be 18+ to view this community
|
||||
|
Loading…
Reference in New Issue
Block a user