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