From c2874c1afe22024b4d4fe85663c4f5b329700640 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 28 Mar 2020 16:00:21 -0700 Subject: [PATCH] Fix bug causing some sections on advanced settings not to show up outside 4chan. --- src/Miscellaneous/FileInfo.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miscellaneous/FileInfo.coffee b/src/Miscellaneous/FileInfo.coffee index ee3d9ef4a..a7f613785 100644 --- a/src/Miscellaneous/FileInfo.coffee +++ b/src/Miscellaneous/FileInfo.coffee @@ -45,7 +45,7 @@ FileInfo = L: -> `<%= html('&{FileInfo.formatters.N.call(this)}') %>` 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