From 23b17dda901e5df3b9c73fc4d9129243cbf60a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 10 Mar 2020 19:54:09 +0100 Subject: 1.0.12.28-beta: now auto update != all db clear --- js/timetable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/timetable.js') 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) => { -- cgit v1.2.3