From 539ff3bcf41e6f8fcf4040e4f1ecb4be3a71a3bd Mon Sep 17 00:00:00 2001 From: Mayhem Date: Wed, 26 Jun 2013 11:01:38 +0200 Subject: [PATCH] Fix Post::parseFile again --- src/General/Post.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/General/Post.coffee b/src/General/Post.coffee index b46dc7de7..bc97d1e9f 100644 --- a/src/General/Post.coffee +++ b/src/General/Post.coffee @@ -49,7 +49,7 @@ class Post @parseComment() @parseQuotes() - @parseFile() + @parseFile(that) @clones = [] g.posts[@fullID] = thread.posts[@] = board.posts[@] = @ @@ -100,7 +100,7 @@ class Post return if @isClone @quotes = Object.keys quotes - parseFile: -> + parseFile: (that) -> return unless (fileEl = $ '.file', @nodes.post) and thumb = $ 'img[data-md5]', fileEl # Supports JPG/PNG/GIF/PDF. # Flash files are not supported.