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