Fix Post::parseFile
This commit is contained in:
parent
827bdf9f25
commit
20f6aba5f2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user