mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-19 10:58:20 +01:00
fix fullscreen
This commit is contained in:
parent
1e62eea8ea
commit
6636cf9afa
@ -163,7 +163,7 @@ self.OS.GUI =
|
|||||||
return document.exitFullscreen() if document.exitFullscreen
|
return document.exitFullscreen() if document.exitFullscreen
|
||||||
return document.mozCancelFullScreen() if document.mozCancelFullScreen
|
return document.mozCancelFullScreen() if document.mozCancelFullScreen
|
||||||
return document.webkitExitFullscreen() if document.webkitExitFullscreen
|
return document.webkitExitFullscreen() if document.webkitExitFullscreen
|
||||||
return document.exitFullscreen() if document.exitFullscreen
|
return document.cancelFullScreen() if document.cancelFullScreen
|
||||||
else
|
else
|
||||||
return el.requestFullscreen() if el.requestFullscreen
|
return el.requestFullscreen() if el.requestFullscreen
|
||||||
return el.mozRequestFullScreen() if el.mozRequestFullScreen
|
return el.mozRequestFullScreen() if el.mozRequestFullScreen
|
||||||
|
Loading…
Reference in New Issue
Block a user