Project

General

Profile

Feature #22978 » highlight_the_linked_note.patch

Mizuki ISHIKAWA, 2017-06-28 04:05

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){
$('div' + hash).css('background-color', '#ffffdd').animate({backgroundColor: ''}, 2000);
}
});
});
<% end %>
(2-2/4)