summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.js b/main.js
index 94c3f31..6b5edc1 100644
--- a/main.js
+++ b/main.js
@@ -28,10 +28,10 @@ window.onload = () => setTimeout(() => {
start.value = 'connect to AMH';
start.onclick = () => {
// set up fullscreen
- document.documentElement.requestFullscreen();
+ document.documentElement.requestFullscreen({ navigationUI: 'hide' });
document.getElementById('fullscreen-toggle').onclick = () => {
if (document.fullscreenElement === null) {
- document.documentElement.requestFullscreen();
+ document.documentElement.requestFullscreen({ navigationUI: 'hide' });
} else {
document.exitFullscreen();
}