diff --git a/Server/wwwroot/src/RemoteControl/InputEventHandlers.ts b/Server/wwwroot/src/RemoteControl/InputEventHandlers.ts index a7265346..71120cfb 100644 --- a/Server/wwwroot/src/RemoteControl/InputEventHandlers.ts +++ b/Server/wwwroot/src/RemoteControl/InputEventHandlers.ts @@ -165,7 +165,7 @@ export function ApplyInputHandlers() { } }); FullScreenButton.addEventListener("click", () => { - ScreenViewerWrapper.requestFullscreen(); + document.body.requestFullscreen(); }) BlockInputButton.addEventListener("click", (ev) => { if (ViewerApp.ViewOnlyMode) {