diff --git a/.gitattributes b/.gitattributes index 212566614..176a458f9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -* text=auto \ No newline at end of file +* text=auto diff --git a/src/General/Post.coffee b/src/General/Post.coffee index 7faf5f343..6da7f33dc 100644 --- a/src/General/Post.coffee +++ b/src/General/Post.coffee @@ -80,7 +80,7 @@ class Post for quotelink in $$ '.quotelink', @nodes.comment @parseQuote quotelink return - + parseQuote: (quotelink) -> # Only add quotes that link to posts on an imageboard. # Don't add: @@ -100,7 +100,7 @@ class Post # Don't count capcode replies as quotes in OPs. (Admin/Mod/Dev Replies: ...) return if @isClone or !@isReply and $.hasClass quotelink.parentNode.parentNode, 'capcodeReplies' - + # ES6 Set when? fullID = "#{match[1]}.#{match[2]}" @quotes.push fullID if @quotes.indexOf(fullID) is -1