Show More
@@ -385,13 +385,12 b' function offsetScroll(element, offset){' | |||
|
385 | 385 | if (lineno.length > 0){ |
|
386 | 386 | var tr = lineno.parents('tr.line'); |
|
387 | 387 | tr.addClass('selected'); |
|
388 | ||
|
389 | tr[0].scrollIntoView(); | |
|
390 | ||
|
388 | 391 | $.Topic('/ui/plugins/code/anchor_focus').prepare({ |
|
389 | 392 | tr:tr, |
|
390 | 393 | remainder:remainder}); |
|
391 | ||
|
392 | if (!remainder){ | |
|
393 | tr[0].scrollIntoView(); | |
|
394 | } | |
|
395 | 394 | } |
|
396 | 395 | } |
|
397 | 396 | } |
General Comments 0
You need to be logged in to leave comments.
Login now