diff options
-rw-r--r-- | assets/js/meals.js | 6 | ||||
-rw-r--r-- | dist/js/meals.js | 6 | ||||
-rw-r--r-- | dist/pages/about.html | 2 | ||||
-rw-r--r-- | dist/sw.js | 4 |
4 files changed, 7 insertions, 11 deletions
diff --git a/assets/js/meals.js b/assets/js/meals.js index 0f4230e..e9b3af8 100644 --- a/assets/js/meals.js +++ b/assets/js/meals.js @@ -278,10 +278,8 @@ async function lopolisLogin() { } }, - error: (xhr) => { - if (xhr.status !== 401) { - UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); - } + error: () => { + UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); setLoading(false); } }); diff --git a/dist/js/meals.js b/dist/js/meals.js index 0f4230e..e9b3af8 100644 --- a/dist/js/meals.js +++ b/dist/js/meals.js @@ -278,10 +278,8 @@ async function lopolisLogin() { } }, - error: (xhr) => { - if (xhr.status !== 401) { - UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); - } + error: () => { + UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); setLoading(false); } }); diff --git a/dist/pages/about.html b/dist/pages/about.html index a61ad63..e9d1152 100644 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -142,7 +142,7 @@ <div class="row"> <p> <small> - ^HEAD 21f22aec32a40cba0c085ca82808dd32f68cdaac + ^HEAD b8d872d3487cbe1b6ce510bb08da799b31bd5567 </small> </p> </div> @@ -3,8 +3,8 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.13-beta-21f22ae"; -// latest commit is 21f22aec32a40cba0c085ca82808dd32f68cdaac +const static_cache_name = "site-static-1.0.13-beta-b8d872d"; +// latest commit is b8d872d3487cbe1b6ce510bb08da799b31bd5567 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! |