fixes #972
This commit is contained in:
@@ -5,4 +5,5 @@
|
|||||||
$("a#remove-from-favorites").show();
|
$("a#remove-from-favorites").show();
|
||||||
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
|
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
|
||||||
$("#favcount-for-post-<%= @post.id %>").html(<%= @post.fav_count %>);
|
$("#favcount-for-post-<%= @post.id %>").html(<%= @post.fav_count %>);
|
||||||
|
Danbooru.notice("You have favorited this post");
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -2,3 +2,4 @@ $("a#add-to-favorites").show();
|
|||||||
$("a#remove-from-favorites").hide();
|
$("a#remove-from-favorites").hide();
|
||||||
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
|
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
|
||||||
$("#favcount-for-post-<%= @post.id %>").html(<%= @post.fav_count %>);
|
$("#favcount-for-post-<%= @post.id %>").html(<%= @post.fav_count %>);
|
||||||
|
Danbooru.notice("You have unfavorited this post");
|
||||||
|
|||||||
Reference in New Issue
Block a user