Closed miketaylr closed 12 years ago
Currently isFullScreen (https://github.com/sindresorhus/screenfull.js/blob/gh-pages/src/screenfull.js#L54) checks for the old document.fullscreen property--but that's not in the latest version of the spec (and not implemented in Opera Next builds).
isFullScreen
document.fullscreen
Maybe add a || fn.fullscreenElement !== null or something afterwards?
|| fn.fullscreenElement !== null
Actually, just || fn.fullscreenElement probably makes more sense.
|| fn.fullscreenElement
Thanks for the report. Fixed in 1.0.2
Currently
isFullScreen
(https://github.com/sindresorhus/screenfull.js/blob/gh-pages/src/screenfull.js#L54) checks for the olddocument.fullscreen
property--but that's not in the latest version of the spec (and not implemented in Opera Next builds).Maybe add a
|| fn.fullscreenElement !== null
or something afterwards?