diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 3da22d4af..648ff5380 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){ + $('div' + hash).css('background-color', '#ffffdd').animate({backgroundColor: ''}, 2000); + } + }); +}); +<% end %>