diff --git a/app/views/favorites/create.js.erb b/app/views/favorites/create.js.erb index 505a7461f..6a0cc2912 100644 --- a/app/views/favorites/create.js.erb +++ b/app/views/favorites/create.js.erb @@ -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 %> diff --git a/app/views/favorites/destroy.js.erb b/app/views/favorites/destroy.js.erb index 0ec951fab..2ece21748 100644 --- a/app/views/favorites/destroy.js.erb +++ b/app/views/favorites/destroy.js.erb @@ -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");