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:
evazion
2019-12-30 22:59:32 -06:00
parent e02a145da2
commit cc6ae7792a

View File

@@ -1 +1 @@
$(".comment[data-id=<%= @comment.id %>] div.author h1").append(" (deleted)");
location.reload();