diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-12-20 20:05:54 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-12-20 20:05:54 +0100 |
commit | 41981be79eefe651870aab3138d143296a4205a2 (patch) | |
tree | 8426fef580c8a2b50502376684227c74c19f9e31 | |
parent | 160cf9ac898679a657b4c08ab3ba0acebb291f27 (diff) |
fixed issue with padding fix breaks history on firefox
--HG--
branch : beta
-rw-r--r-- | rhodecode/templates/files/files_source.html | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/rhodecode/templates/files/files_source.html b/rhodecode/templates/files/files_source.html index d63f29e1..c48a3e6f 100644 --- a/rhodecode/templates/files/files_source.html +++ b/rhodecode/templates/files/files_source.html @@ -86,15 +86,6 @@ YUE.onDOMReady(function(){ } 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 |