Add: NSFW warning when not blurhashed sensitive toots
This commit is contained in:
parent
f17a47d088
commit
b12c18aa08
|
@ -612,8 +612,8 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||||
if (toot.sensitive && nsfw) {
|
if (toot.sensitive && nsfw) {
|
||||||
var sense = "sensitive"
|
var sense = "sensitive"
|
||||||
var blur = media.blurhash
|
var blur = media.blurhash
|
||||||
if (blur) {
|
|
||||||
nsfwmes = '<div class="nsfw-media">' + lang.lang_parse_nsfw + '</div>'
|
nsfwmes = '<div class="nsfw-media">' + lang.lang_parse_nsfw + '</div>'
|
||||||
|
if (blur) {
|
||||||
purl = parseBlur(blur)
|
purl = parseBlur(blur)
|
||||||
var sense = ""
|
var sense = ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user