diff --git a/rhodecode/templates/files/files_source.html b/rhodecode/templates/files/files_source.html --- a/rhodecode/templates/files/files_source.html +++ b/rhodecode/templates/files/files_source.html @@ -86,11 +86,11 @@ YUE.onDOMReady(function(){ h_lines.push(parseInt(highlight_ranges[pos])); } } - highlight_lines(h_lines); - var _first_line= YUD.get('L'+h_lines[0]); - if(_first_line){ - _first_line.scrollIntoView() - } + highlight_lines(h_lines); + var _first_line= YUD.get('L'+h_lines[0]); + if(_first_line){ + _first_line.scrollIntoView() + } } // select code link event