# HG changeset patch # User Marcin Kuzminski # Date 1356030354 -3600 # Node ID 6659c5af04e7d2ee6ccabfdd5acb17dc94c21243 # Parent 324ed41c11b1c76afb03e93fc123f6209d81d1ef fixed issue with padding fix breaks history on firefox diff -r 324ed41c11b1 -r 6659c5af04e7 rhodecode/templates/files/files_source.html --- a/rhodecode/templates/files/files_source.html Wed Dec 19 23:33:56 2012 +0100 +++ b/rhodecode/templates/files/files_source.html Thu Dec 20 20:05:54 2012 +0100 @@ -86,15 +86,6 @@ } highlight_lines(h_lines); - //remember original location - var old_hash = location.href.substring(location.href.indexOf('#')); - - // this makes a jump to anchor moved by 3 posstions for padding - window.location.hash = '#L'+Math.max(parseInt(h_lines[0])-3,1); - - //sets old anchor - window.location.hash = old_hash; - } // select code link event