Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16776
e93f8b46-1217-0410-a6f0-
8f06a7374b81
<% 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).addClass('highlight').removeClass('highlight', 2000)
+ }
+ });
+});
+<% end %>
div.thumbnails div {background:#fff;border:2px solid #ddd;display:inline-block;margin-right:2px;}
div.thumbnails img {margin: 3px; vertical-align: middle;}
#history div.thumbnails {margin-left: 2em;}
+#history div.highlight {background-color: #ffffdd;}
p.other-formats { text-align: right; font-size:0.9em; color: #666; }
.other-formats span + span:before { content: "| "; }