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
167 167
<% end %>
168 168

  
169 169
<%= context_menu %>
170

  
171
<%= javascript_tag do %>
172
$(document).ready(function(){
173
  $(window).on('load hashchange',function(){
174
    var hash = location.hash;
175
    if (hash){
176
      $('div' + hash).css('background-color', '#ffffdd').animate({backgroundColor: ''}, 2000);
177
    }
178
  });
179
});
180
<% end %>
(2-2/4)