Closed matthiasprieth closed 9 years ago
+1
Looks like the problem comes from trying to call mozExitFullScreen
or mozExitFullscreen
when it should be mozCancelFullScreen
, as per MDN. Looks like mozExitFull*
never existed?
I'll fork, fix, and PR this shortly.
Looks like this is already addressed in PR #2. Hopefully merged soon.
Awesome thanks!
Tested with Firefox 36.04:
var document_exit = .....
was undefined.So
document_exit.call(doc);
raised an error.