Mercurial > kallithea
changeset 3124:6659c5af04e7 beta
fixed issue with padding fix breaks history on firefox
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 20 Dec 2012 20:05:54 +0100 |
parents | 324ed41c11b1 |
children | 9b92cf5a0cca |
files | rhodecode/templates/files/files_source.html |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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