This commit is contained in:
albert
2013-03-22 10:25:01 -07:00
parent 87edfd52b1
commit 6933cfba26
2 changed files with 2 additions and 0 deletions

View File

@@ -5,4 +5,5 @@
$("a#remove-from-favorites").show();
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
$("#favcount-for-post-<%= @post.id %>").html(<%= @post.fav_count %>);
Danbooru.notice("You have favorited this post");
<% end %>

View File

@@ -2,3 +2,4 @@ $("a#add-to-favorites").show();
$("a#remove-from-favorites").hide();
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
$("#favcount-for-post-<%= @post.id %>").html(<%= @post.fav_count %>);
Danbooru.notice("You have unfavorited this post");