Feature #22978 » highlight_the_linked_note.patch
| 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 %>
|
||