diff --git a/common/App.svelte b/common/App.svelte index 0d309ef..5cf3d78 100644 --- a/common/App.svelte +++ b/common/App.svelte @@ -36,6 +36,10 @@ if (!state) return ignoreNext = true view.set(null) + if (document.fullscreenElement) { + document.exitFullscreen(); + if (state.type === 'view') page.set('home') + } if (state.type === 'page') { page.set(state.value) } else {