fix scroll sync
This commit is contained in:
parent
82f2de5efa
commit
20e74bfef6
|
@ -568,7 +568,7 @@ function syncPreview() {
|
||||||
|
|
||||||
// Set the scroll position of the preview pane to match. jQuery will
|
// Set the scroll position of the preview pane to match. jQuery will
|
||||||
// gracefully handle out-of-bounds values.
|
// gracefully handle out-of-bounds values.
|
||||||
$prev.scrollTop(scrollFactor * previewScrollRange);
|
$prev.parent().scrollTop(scrollFactor * previewScrollRange);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onload = function () {
|
window.onload = function () {
|
||||||
|
|
Loading…
Reference in a new issue