merge branch changeable-votes
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user