summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2024-07-07 12:47:00 -0500
committersanine <sanine.not@pm.me>2024-07-07 12:47:00 -0500
commitb648eaffe1f9a33280ef4486474ca0aa52dac9f8 (patch)
tree97293fd5d5931c1d2c98d7f5d2b833f319a6f63c /main.js
parent553218a6214b0473f1ac8bad9e832fc5ea84199c (diff)
update path speed
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();
}