Allow noVNC to enter fullscreen in Safari on macOS
The fullscreen limitation in Safari seems to only concern Safari on iOS. On macOS it works just fine.
This commit is contained in:
parent
71d0bfaccd
commit
7a929f1231
|
|
@ -146,8 +146,8 @@ const UI = {
|
|||
|
||||
initFullscreen() {
|
||||
// Only show the button if fullscreen is properly supported
|
||||
// * Safari doesn't support alphanumerical input while in fullscreen
|
||||
if (!isSafari() &&
|
||||
// * Safari on iOS doesn't support alphanumerical input while in fullscreen
|
||||
if (!(isSafari() && isIOS()) &&
|
||||
(document.documentElement.requestFullscreen ||
|
||||
document.documentElement.mozRequestFullScreen ||
|
||||
document.documentElement.webkitRequestFullscreen ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue