Fix syncscroll

This commit is contained in:
Yukai Huang 2016-10-13 14:03:02 +08:00
parent 83be3465cc
commit 4713b4f2aa
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ md.use(markdownitContainer, 'info', { render: renderContainer });
md.use(markdownitContainer, 'warning', { render: renderContainer }); md.use(markdownitContainer, 'warning', { render: renderContainer });
md.use(markdownitContainer, 'danger', { render: renderContainer }); md.use(markdownitContainer, 'danger', { render: renderContainer });
var syncscroll = true; // FIXME: expose syncscroll to window
window.syncscroll = true;
var preventSyncScrollToEdit = false; var preventSyncScrollToEdit = false;
var preventSyncScrollToView = false; var preventSyncScrollToView = false;