Show More
@@ -375,8 +375,10 b'' | |||
|
375 | 375 | if (location.hash) { |
|
376 | 376 | var result = splitDelimitedHash(location.hash); |
|
377 | 377 | var line = $('html').find(result.loc); |
|
378 | if (line.length > 0){ | |
|
378 | 379 | offsetScroll(line, 70); |
|
379 | 380 | } |
|
381 | } | |
|
380 | 382 | |
|
381 | 383 | // browse tree @ revision |
|
382 | 384 | $('#files_link').on('click', function(e){ |
@@ -177,10 +177,12 b'' | |||
|
177 | 177 | var _first_line = $('#L' + h_lines[0]).get(0); |
|
178 | 178 | if (_first_line) { |
|
179 | 179 | var line = $('#L' + h_lines[0]); |
|
180 | if (line.length > 0){ | |
|
180 | 181 | offsetScroll(line, 70); |
|
181 | 182 | } |
|
182 | 183 | } |
|
183 | 184 | } |
|
185 | } | |
|
184 | 186 | |
|
185 | 187 | // select code link event |
|
186 | 188 | $("#hlcode").mouseup(getSelectionLink); |
@@ -415,8 +415,10 b'' | |||
|
415 | 415 | if (location.hash) { |
|
416 | 416 | var result = splitDelimitedHash(location.hash); |
|
417 | 417 | var line = $('html').find(result.loc); |
|
418 | if (line.length > 0){ | |
|
418 | 419 | offsetScroll(line, 70); |
|
419 | 420 | } |
|
421 | } | |
|
420 | 422 | $(function(){ |
|
421 | 423 | ReviewerAutoComplete('user'); |
|
422 | 424 | // custom code mirror |
General Comments 0
You need to be logged in to leave comments.
Login now