post.isDead is false by default, not absent.

This commit is contained in:
ccd0 2015-07-04 10:05:24 -07:00
parent efb896414a
commit 56fb01add1

View File

@ -226,7 +226,7 @@ class Post
# XXX Workaround for 4chan's racing condition
# giving us false-positive dead posts.
resurrect: ->
delete @isDead
@isDead = false
$.rmClass @nodes.root, 'deleted-post'
strong = $ 'strong.warning', @nodes.info
# no false-positive files