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

@@ -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 %>