diff options
author | BuildTools <unconfigured@null.spigotmc.org> | 2016-12-06 18:49:25 +0100 |
---|---|---|
committer | BuildTools <unconfigured@null.spigotmc.org> | 2016-12-06 18:49:25 +0100 |
commit | 6bc04592cc7511775cdec9902c841aca7a0d2a6c (patch) | |
tree | c8ed7a3cc15ea98fa2e1e1b37ba0d14cbaaa6033 /public/javascripts/main.js | |
parent | 10ba0f1b863e97e5ecfa19e81fd9ba2a0425301a (diff) |
fixed week buttons for IE9
Diffstat (limited to 'public/javascripts/main.js')
-rw-r--r-- | public/javascripts/main.js | 4 |
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') |