diff options
author | Noah Loomans <noahloomans@gmail.com> | 2016-10-08 14:49:57 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2016-10-08 14:49:57 +0200 |
commit | bb9e55ec41194a085cb7c627b7ef2c77938baa49 (patch) | |
tree | 5ed88f3db850aea162d52df3cfc565d9930143b3 /public/javascripts/main.js | |
parent | 836fef97e7162b8d3777528788ccf0d9a6ecbd21 (diff) |
redirect hotfix
Diffstat (limited to 'public/javascripts/main.js')
-rw-r--r-- | public/javascripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/main.js b/public/javascripts/main.js index 89fb473..37e9677 100644 --- a/public/javascripts/main.js +++ b/public/javascripts/main.js @@ -18,7 +18,7 @@ const currentWeekNode = document.querySelector('.current') const favNode = document.querySelector('.fav') if (window.location.href.split('?')[1] !== 'nfd') { // nfd = no feature detection - if (document.querySelector('#search').getClientRects()[0].height !== 70) { + if (document.querySelector('#schedule').getClientRects()[0].bottom !== document.body.offsetHeight) { window.location = 'http://www.meetingpointmco.nl/Roosters-AL/doc/' } else { window.onerror = function () { |