fixes #1263 for comments
This commit is contained in:
7
app/views/comments/unvote.js.erb
Normal file
7
app/views/comments/unvote.js.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<% if @error %>
|
||||
Danbooru.error("<%= j @error.to_s %>");
|
||||
<% else %>
|
||||
$("#comment-vote-up-link-for-<%= @comment.id %>").show();
|
||||
$("#comment-vote-down-link-for-<%= @comment.id %>").show();
|
||||
$("#comment-unvote-link-for-<%= @comment.id %>").hide();
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user