From 8bc6e8b0aa0c6543c8dcd64551f859d0965ab104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 12 Mar 2020 12:54:11 +0100 Subject: setup-storage critical fix (sw error) 1.0.12.35-beta --- js/gsec.js | 1 - js/setup-storage.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'js') diff --git a/js/gsec.js b/js/gsec.js index 097393a..28aca68 100644 --- a/js/gsec.js +++ b/js/gsec.js @@ -178,7 +178,6 @@ class gsec { var subjectStrings = subFields[2].innerHTML.split("
"); for(const subjectString of subjectStrings) { // todo: https://github.com/sijanec/gimsisextclient/blob/master/main.php#L270 - var subjectName = } } }) diff --git a/js/setup-storage.js b/js/setup-storage.js index 8a6604c..0fe26d2 100644 --- a/js/setup-storage.js +++ b/js/setup-storage.js @@ -29,7 +29,7 @@ async function setupStorage(force = false) { localforage.setItem("chosenLang", "en") ]; await localforage.clear(); - await Promises.all(promises_first_install); + await Promise.all(promises_first_install); console.log("[setupStorage] user not logged in: set up whole database"); } } -- cgit v1.2.3