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.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/main.js b/public/javascripts/main.js
index 722031d..41b096a 100644
--- a/public/javascripts/main.js
+++ b/public/javascripts/main.js
@@ -13,8 +13,8 @@ const searchNode = document.querySelector('#search')
const inputNode = searchNode.querySelector('input[type="text"]')
const autocompleteNode = document.querySelector('.autocomplete')
const scheduleIframe = document.querySelector('#schedule')
-const prevButton = document.querySelectorAll('input[type="button"]')[0]
-const nextButton = document.querySelectorAll('input[type="button"]')[1]
+const prevButton = document.querySelectorAll('#week-selector button')[0]
+const nextButton = document.querySelectorAll('#week-selector button')[1]
const currentWeekNode = document.querySelector('.current')
const favNode = document.querySelector('.fav')