summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/js/syncscroll.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/syncscroll.js b/public/js/syncscroll.js
index a9cfb5a0..626c790f 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;