diff --git a/internal/ui/ui_js.go b/internal/ui/ui_js.go index 4fd0163d6..4a957bf51 100644 --- a/internal/ui/ui_js.go +++ b/internal/ui/ui_js.go @@ -129,7 +129,7 @@ func (u *userInterfaceImpl) SetFullscreen(fullscreen bool) { if !document.Truthy() { return } - if fullscreen == document.Get("fullscreenElement").Truthy() { + if fullscreen == document.Get("fullscreenElement").Truthy() || fullscreen == document.Get("webkitFullscreenElement").Truthy() { return } if fullscreen {