diff options
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } |