Fix sync scroll not handle properly on area resize

This commit is contained in:
Wu Cheng-Han 2016-10-14 00:25:08 +08:00
parent adb3666d13
commit ef5524be91
1 changed files with 2 additions and 2 deletions

View File

@ -112,8 +112,8 @@ md.use(markdownitContainer, 'danger', { render: renderContainer });
// FIXME: expose syncscroll to window // FIXME: expose syncscroll to window
window.syncscroll = true; window.syncscroll = true;
var preventSyncScrollToEdit = false; window.preventSyncScrollToEdit = false;
var preventSyncScrollToView = false; window.preventSyncScrollToView = false;
var editScrollThrottle = 5; var editScrollThrottle = 5;
var viewScrollThrottle = 5; var viewScrollThrottle = 5;