summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/index.js1
-rw-r--r--public/js/syncscroll.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 0b64f667..376c8ddd 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -76,6 +76,7 @@ var syncScroll = require('./syncscroll');
var setupSyncAreas = syncScroll.setupSyncAreas;
var clearMap = syncScroll.clearMap;
var syncScrollToEdit = syncScroll.syncScrollToEdit;
+var syncScrollToView = syncScroll.syncScrollToView;
var extra = require('./extra');
var md = extra.md;
diff --git a/public/js/syncscroll.js b/public/js/syncscroll.js
index 444cdebd..644022de 100644
--- a/public/js/syncscroll.js
+++ b/public/js/syncscroll.js
@@ -370,5 +370,6 @@ function editScrollingTimeoutInner() {
module.exports = {
setupSyncAreas: setupSyncAreas,
clearMap: clearMap,
- syncScrollToEdit: syncScrollToEdit
+ syncScrollToEdit: syncScrollToEdit,
+ syncScrollToView: syncScrollToView
};