From 9ad2f74c83d18b3b748000af4c8606ea092225d8 Mon Sep 17 00:00:00 2001 From: rstular Date: Sun, 17 May 2020 19:47:47 +0200 Subject: Language changing bug fix --- dist/js/settings.js | 2 +- dist/pages/about.html | 2 +- dist/sw.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'dist') diff --git a/dist/js/settings.js b/dist/js/settings.js index 3cb4c9b..5712039 100644 --- a/dist/js/settings.js +++ b/dist/js/settings.js @@ -16,7 +16,7 @@ async function setTheme(targetTheme) { document.addEventListener("DOMContentLoaded", async () => { - $("#select-language").on("change", () => { + $("#select-language").on("change", function() { setLanguage($(this).find(":selected").val()); }); diff --git a/dist/pages/about.html b/dist/pages/about.html index 93ddbcf..ceb7805 100644 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -143,7 +143,7 @@

- ^HEAD 75c1dd723d353bfd5cba35a686f911c54760b88c + ^HEAD b4c56d6a3cd38f411ff01bcbf29c1e3498f94e91

diff --git a/dist/sw.js b/dist/sw.js index e8e0d16..797796b 100644 --- a/dist/sw.js +++ b/dist/sw.js @@ -3,8 +3,8 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.13-beta-75c1dd7"; -// latest commit is 75c1dd723d353bfd5cba35a686f911c54760b88c +const static_cache_name = "site-static-1.0.13-beta-b4c56d6"; +// latest commit is b4c56d6a3cd38f411ff01bcbf29c1e3498f94e91 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3