Fix Post::parseFile again

This commit is contained in:
Mayhem 2013-06-26 11:01:38 +02:00
parent 20f6aba5f2
commit 539ff3bcf4

View File

@ -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.