fix fullscreen

This commit is contained in:
Xuan Sang LE 2018-03-01 20:12:07 +01:00
parent 1e62eea8ea
commit 6636cf9afa

View File

@ -163,7 +163,7 @@ self.OS.GUI =
return document.exitFullscreen() if document.exitFullscreen
return document.mozCancelFullScreen() if document.mozCancelFullScreen
return document.webkitExitFullscreen() if document.webkitExitFullscreen
return document.exitFullscreen() if document.exitFullscreen
return document.cancelFullScreen() if document.cancelFullScreen
else
return el.requestFullscreen() if el.requestFullscreen
return el.mozRequestFullScreen() if el.mozRequestFullScreen