summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/static/dartboat.js3
-rw-r--r--web/static/sw.js2
2 files changed, 4 insertions, 1 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js
index 9e97dfc..a46ffc9 100644
--- a/web/static/dartboat.js
+++ b/web/static/dartboat.js
@@ -199,6 +199,9 @@ document.addEventListener('keydown', e => {
if ('serviceWorker' in navigator)
navigator.serviceWorker.register('sw.js');
+if ('virtualKeyboard' in navigator)
+ navigator.virtualKeyboard.overlaysContent = true;
+
// disable back button when installed as a PWA. a single click exits the app,
// destroying match state without confirmation, so we must resort to this.
if (window.matchMedia('(display-mode: standalone)').matches) {
diff --git a/web/static/sw.js b/web/static/sw.js
index 3e3ccfd..a5fe6fc 100644
--- a/web/static/sw.js
+++ b/web/static/sw.js
@@ -1,5 +1,5 @@
const CACHE_PREFIX = 'dartboat-'
-const CACHE_VERSION = '12';
+const CACHE_VERSION = '13';
const CACHE_NAME = `${CACHE_PREFIX}${CACHE_VERSION}`;
const CACHE_FILES = [