From 20f6aba5f2886e6cad7f6cc9b78e44d3e549401e Mon Sep 17 00:00:00 2001 From: Mayhem Date: Wed, 26 Jun 2013 10:04:20 +0200 Subject: [PATCH] Fix Post::parseFile --- src/General/Post.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Post.coffee b/src/General/Post.coffee index 170764b2d..b46dc7de7 100644 --- a/src/General/Post.coffee +++ b/src/General/Post.coffee @@ -101,7 +101,7 @@ class Post @quotes = Object.keys quotes parseFile: -> - return unless (fileEl = $ '.file', post) and thumb = $ 'img[data-md5]', fileEl + return unless (fileEl = $ '.file', @nodes.post) and thumb = $ 'img[data-md5]', fileEl # Supports JPG/PNG/GIF/PDF. # Flash files are not supported. alt = thumb.alt