Project

General

Profile

Feature #22978 » highlight_the_linked_note-v2.patch

Go MAEDA, 2017-06-28 09:30

View differences:

app/views/issues/show.html.erb
<% 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 %>
(3-3/4)