From b648eaffe1f9a33280ef4486474ca0aa52dac9f8 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 7 Jul 2024 12:47:00 -0500 Subject: update path speed --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.js') 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(); } -- cgit v1.2.1