diff --git a/public/js/index.js b/public/js/index.js index 0b64f667c..376c8ddd5 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 444cdebd6..644022de1 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 };