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