diff --git a/public/js/syncscroll.js b/public/js/syncscroll.js index a9cfb5a..626c790 100644 --- a/public/js/syncscroll.js +++ b/public/js/syncscroll.js @@ -112,8 +112,8 @@ md.use(markdownitContainer, 'danger', { render: renderContainer }); // FIXME: expose syncscroll to window window.syncscroll = true; -var preventSyncScrollToEdit = false; -var preventSyncScrollToView = false; +window.preventSyncScrollToEdit = false; +window.preventSyncScrollToView = false; var editScrollThrottle = 5; var viewScrollThrottle = 5;