fixes #1263 for comments

This commit is contained in:
Toks
2013-06-29 14:50:22 -04:00
parent 9bffc081e4
commit badc3122f0
7 changed files with 60 additions and 17 deletions

View File

@@ -4,6 +4,7 @@
<% if @comment_vote.is_negative? %>
$(".comment[data-comment-id=<%= @comment.id %>]").remove();
<% end %>
$("#comment-vote-up-link-for-<%= @comment.id %>").remove();
$("#comment-vote-down-link-for-<%= @comment.id %>").remove();
<% end %>
$("#comment-vote-up-link-for-<%= @comment.id %>").hide();
$("#comment-vote-down-link-for-<%= @comment.id %>").hide();
$("#comment-unvote-link-for-<%= @comment.id %>").show();