fix scroll sync

This commit is contained in:
Matthew Scragg 2014-09-26 17:40:21 -05:00
parent 82f2de5efa
commit 20e74bfef6

View file

@ -568,7 +568,7 @@ function syncPreview() {
// Set the scroll position of the preview pane to match. jQuery will
// gracefully handle out-of-bounds values.
$prev.scrollTop(scrollFactor * previewScrollRange);
$prev.parent().scrollTop(scrollFactor * previewScrollRange);
}
window.onload = function () {