Fix bug causing some sections on advanced settings not to show up outside 4chan.

This commit is contained in:
ccd0 2020-03-28 16:00:21 -07:00
parent 3b938f4655
commit c2874c1afe

View File

@ -45,7 +45,7 @@ FileInfo =
L: -> `<%= html('<a href="${this.file.url}" target="_blank">&{FileInfo.formatters.N.call(this)}</a>') %>`
n: ->
fullname = @file.name
shortname = g.SITE.Build.shortFilename @file.name, @isReply
shortname = SW.yotsuba.Build.shortFilename @file.name, @isReply
if fullname is shortname
`<%= html('${fullname}') %>`
else