This commit is contained in:
Albert Yi
2017-01-16 12:57:37 -08:00
parent a49394e6cd
commit bdac591266
10 changed files with 10 additions and 41 deletions

View File

@@ -0,0 +1,8 @@
<% if @error %>
Danbooru.notice("<%= j @error.to_s %>");
<% else %>
Danbooru.notice("Unvoted successfully");
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
<% end %>
$("#vote-links-for-post-<%= @post.id %>").show();
$("#unvote-link-for-post-<%= @post.id %>").hide();