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, 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 () {