diff --git a/src/Filtering/Filter.coffee b/src/Filtering/Filter.coffee index 3bb1bca28..2a5ebd389 100644 --- a/src/Filtering/Filter.coffee +++ b/src/Filtering/Filter.coffee @@ -139,7 +139,7 @@ Filter = isHidden: (post) -> !!Filter.test(post).hide - postID: (post) -> "#{post.ID ? post.postID}" + postID: (post) -> "#{post.ID}" name: (post) -> post.info.name uniqueID: (post) -> post.info.uniqueID tripcode: (post) -> post.info.tripcode diff --git a/src/General/Build.coffee b/src/General/Build.coffee index 972a4008e..bde8ca75e 100644 --- a/src/General/Build.coffee +++ b/src/General/Build.coffee @@ -34,7 +34,7 @@ Build = parseJSON: (data, boardID) -> o = # id - postID: data.no + ID: data.no threadID: data.resto or data.no boardID: boardID isReply: !!data.resto @@ -100,7 +100,7 @@ Build = Build.post o, suppressThumb post: (o, suppressThumb) -> - {postID, threadID, boardID, file} = o + {ID, threadID, boardID, file} = o {subject, email, name, tripcode, capcode, uniqueID, flagCode, flag, dateUTC, dateText, commentHTML} = o.info {staticPath, gifIcon} = Build @@ -116,11 +116,11 @@ Build = capcodePlural = "#{capcodeLong}s" capcodeDescription = "a 4chan #{capcodeLong}" - postLink = Build.postURL boardID, threadID, postID + postLink = Build.postURL boardID, threadID, ID quoteLink = if Build.sameThread boardID, threadID - "javascript:quote('#{+postID}');" + "javascript:quote('#{+ID}');" else - "/#{boardID}/thread/#{threadID}#q#{postID}" + "/#{boardID}/thread/#{threadID}#q#{ID}" postInfo = <%= readHTML('PostInfo.html') %> @@ -142,7 +142,7 @@ Build = container = $.el 'div', className: "postContainer #{postClass}Container" - id: "pc#{postID}" + id: "pc#{ID}" $.extend container, wholePost # Fix quotelinks diff --git a/src/General/Build/File.html b/src/General/Build/File.html index d48f11db2..e91c85223 100644 --- a/src/General/Build/File.html +++ b/src/General/Build/File.html @@ -1,13 +1,13 @@ ?{file}{ -
+
?{boardID === "f"}{ -
+
File: ${file.name} -(${file.size}, ${file.dimensions}?{file.tag}{, ${file.tag}})
}{ -
+
File: ?{file.isSpoiler}{Spoiler Image}{${shortFilename}} @@ -26,7 +26,7 @@
}{ ?{o.fileDeleted}{ -
+
File deleted. diff --git a/src/General/Build/Post.html b/src/General/Build/Post.html index bc9cf1852..655c4ea45 100644 --- a/src/General/Build/Post.html +++ b/src/General/Build/Post.html @@ -1,5 +1,5 @@ -?{o.isReply}{
>>
} -
+?{o.isReply}{
>>
} +
?{o.isReply}{&{postInfo}&{fileBlock}}{&{fileBlock}&{postInfo}} -
&{commentHTML}
+
&{commentHTML}
diff --git a/src/General/Build/PostInfo.html b/src/General/Build/PostInfo.html index a5a63851b..b03aa98f0 100644 --- a/src/General/Build/PostInfo.html +++ b/src/General/Build/PostInfo.html @@ -1,5 +1,5 @@ -