Add: NSFW warning when not blurhashed sensitive toots

This commit is contained in:
Cutls 2019-07-25 23:52:44 +09:00
parent f17a47d088
commit b12c18aa08

View File

@ -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 = ""
} }