diff options
author | Yukai Huang | 2016-10-13 14:03:02 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-13 14:03:02 +0800 |
commit | 4713b4f2aacab5bbc6ed557bd3f382df3af962df (patch) | |
tree | f5f6946263ba9da0f6fe17d469bc59fb63f01434 /public | |
parent | 83be3465ccd4bdc43cdfc14f253c236e2f44379e (diff) |
Fix syncscroll
Diffstat (limited to 'public')
-rw-r--r-- | public/js/syncscroll.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/syncscroll.js b/public/js/syncscroll.js index 511c5000..a9cfb5a0 100644 --- a/public/js/syncscroll.js +++ b/public/js/syncscroll.js @@ -109,7 +109,8 @@ md.use(markdownitContainer, 'info', { render: renderContainer }); md.use(markdownitContainer, 'warning', { render: renderContainer }); md.use(markdownitContainer, 'danger', { render: renderContainer }); -var syncscroll = true; +// FIXME: expose syncscroll to window +window.syncscroll = true; var preventSyncScrollToEdit = false; var preventSyncScrollToView = false; |