chrisdickinson / fullscreen

fullscreen polyfill api that presents an event emitter
36 stars 19 forks source link

Fix typo in mozFullScreenEnabled that caused enabled to return false in Firefox #12

Closed ggingell closed 7 years ago

ggingell commented 7 years ago

The issue is that the fullscreen.enabled function would return false because document.mozFullscreenEnabled is undefined whereas document.mozFullScreenEnabled is the exact name of it.

ggingell commented 7 years ago

closing as duplicate of #11