diff --git a/src/core/gui.coffee b/src/core/gui.coffee index 57c3172..e21e95f 100644 --- a/src/core/gui.coffee +++ b/src/core/gui.coffee @@ -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