fix fullscreen

This commit is contained in:
Xuan Sang LE 2018-03-01 20:16:53 +01:00
parent 6636cf9afa
commit 1dbf88f888

View File

@ -189,7 +189,7 @@ self.OS.GUI =
event.preventDefault()
initDM: ->
($ "body").on 'webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange', ()->
($ document).on 'webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange', ()->
_GUI.fullscreen = not _GUI.fullscreen
# check login first
_API.resource "schemes/dm.html", (x) ->