diff options
Diffstat (limited to 'js/timetable.js')
-rw-r--r-- | js/timetable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/timetable.js b/js/timetable.js index 740731a..2aecdb0 100644 --- a/js/timetable.js +++ b/js/timetable.js @@ -8,7 +8,7 @@ function checkLogin() { localforage.getItem("logged_in").then((value) => { // This code runs once the value has been loaded // from the offline store. - if (value !== true) { + if (value != true) { window.location.replace("/index.html"); } }).catch((err) => { |