final/app/views/comments/destroy.js.haml

3 lines
73 B
Plaintext
Executable File

- if @result[:status]
:plain
$("#comment_#{@comment.id}").remove();