Files
fetsite/app/views/comments/hide.js.erb
Andreas Stephanides 699517fb56 Revert "removecomments"
This reverts commit 6ee1468ce3.
2014-11-28 14:22:43 +01:00

4 lines
268 B
Plaintext

$("#<%= Comment.wrapid_for(@commentable) %>").html("<%= escape_javascript "" %>")
$("#<%= Comment.switchshowid_for(@commentable) %>").attr("href","<%= escape_javascript comments_path(commentable_type: @commentable.class.to_s, commentable_id: @commentable.id) %>")