Changeset - 6659c5af04e7
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-12-20 20:05:54
marcin@python-works.com
fixed issue with padding fix breaks history on firefox
1 file changed with 0 insertions and 9 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/files/files_source.html
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)