comments: fix delete comment ajax call.
Broken because the markup changed and because it doesn't change the delete link to undelete. Easier to just reload.
This commit is contained in:
@@ -1 +1 @@
|
||||
$(".comment[data-id=<%= @comment.id %>] div.author h1").append(" (deleted)");
|
||||
location.reload();
|
||||
|
||||
Reference in New Issue
Block a user