aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/main.js')
-rw-r--r--public/javascripts/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/javascripts/main.js b/public/javascripts/main.js
index b6d4f09..7d2c8bb 100644
--- a/public/javascripts/main.js
+++ b/public/javascripts/main.js
@@ -3,6 +3,7 @@ const search = require('./search')
const schedule = require('./schedule')
const weekSelector = require('./weekSelector')
const favorite = require('./favorite')
+const scrollSnap = require('./scrollSnap')
const state = {}
@@ -11,6 +12,7 @@ window.require = require
frontpage.show()
weekSelector.updateCurrentWeek()
+scrollSnap.startListening()
if (favorite.get() != null) {
state.selectedItem = favorite.get()