summaryrefslogtreecommitdiff
path: root/web/static/dartboat.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/static/dartboat.js')
-rw-r--r--web/static/dartboat.js3
1 files changed, 3 insertions, 0 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) {