From 008ba151ede8c66a52e689b3d99780fd6a66a0f2 Mon Sep 17 00:00:00 2001 From: Marc Robledo Date: Fri, 6 Nov 2020 21:00:06 +0100 Subject: [PATCH] added language selector, looks like Chrome wasn't compatible with automatic detection --- _cache_service_worker.js | 2 +- index.html | 15 ++++- js/RomPatcher.js | 46 +++++++++++--- js/crc.js | 129 ++++++++++++++++++++++++++++++++++++++- style/RomPatcher.css | 18 ++++-- 5 files changed, 190 insertions(+), 20 deletions(-) diff --git a/_cache_service_worker.js b/_cache_service_worker.js index 10fe7bb..c60c891 100644 --- a/_cache_service_worker.js +++ b/_cache_service_worker.js @@ -29,7 +29,7 @@ caches.keys().then(function(cacheNames){ }); var PRECACHE_ID='rom-patcher-js'; -var PRECACHE_VERSION='v11'; +var PRECACHE_VERSION='v12'; var PRECACHE_URLS=[ '/RomPatcher.js/','/RomPatcher.js/index.html', '/RomPatcher.js/manifest.json', diff --git a/index.html b/index.html index ee88382..682d058 100644 --- a/index.html +++ b/index.html @@ -111,7 +111,7 @@ @@ -166,14 +166,23 @@ -