summaryrefslogtreecommitdiffstats
path: root/js/timetable.js
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-10 19:54:09 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-10 19:54:09 +0100
commit23b17dda901e5df3b9c73fc4d9129243cbf60a15 (patch)
tree9d9003929912ad999ca540a407ab486dfa40fbe7 /js/timetable.js
parent1.0.12-beta: podpora za jezike (diff)
downloadbeziapp-23b17dda901e5df3b9c73fc4d9129243cbf60a15.tar
beziapp-23b17dda901e5df3b9c73fc4d9129243cbf60a15.tar.gz
beziapp-23b17dda901e5df3b9c73fc4d9129243cbf60a15.tar.bz2
beziapp-23b17dda901e5df3b9c73fc4d9129243cbf60a15.tar.lz
beziapp-23b17dda901e5df3b9c73fc4d9129243cbf60a15.tar.xz
beziapp-23b17dda901e5df3b9c73fc4d9129243cbf60a15.tar.zst
beziapp-23b17dda901e5df3b9c73fc4d9129243cbf60a15.zip
Diffstat (limited to 'js/timetable.js')
-rw-r--r--js/timetable.js2
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) => {