Post.resurrect should restore the deleted-file class.
This commit is contained in:
parent
879b982f01
commit
1bf75fdca0
@ -250,6 +250,7 @@ class Post
|
||||
strong = $ 'strong.warning', @nodes.info
|
||||
# no false-positive files
|
||||
if @files.some((file) -> file.isDead)
|
||||
$.addClass @nodes.root, 'deleted-file'
|
||||
strong.textContent = '[File deleted]'
|
||||
else
|
||||
$.rm strong
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user