diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 3da22d4af..87c64087f 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -167,3 +167,14 @@ end %> <% end %> <%= context_menu %> + +<%= javascript_tag do %> +$(document).ready(function(){ + $(window).on('load hashchange',function(){ + var hash = location.hash; + if (hash.match(/^#(change|note)-\d+$/)){ + $('div' + hash).css('background-color', '#ffffdd').animate({backgroundColor: ''}, 2000); + } + }); +}); +<% end %>