Skip to content

Commit

Permalink
Fix fullscreen utility (#27522)
Browse files Browse the repository at this point in the history
  • Loading branch information
zetagame committed Apr 1, 2020
1 parent 14329bc commit 7bfffec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dom.js
Expand Up @@ -814,10 +814,10 @@ export function fullscreenExit(element) {
}
const docBoundExit =
ownerDocument.cancelFullScreen ||
ownerDocument.exitFullscreencancelFullScreen ||
ownerDocument.webkitExitFullscreencancelFullScreen ||
ownerDocument.webkitCancelFullScreencancelFullScreen ||
ownerDocument.mozCancelFullScreencancelFullScreen ||
ownerDocument.exitFullscreen ||
ownerDocument.webkitExitFullscreen ||
ownerDocument.webkitCancelFullScreen ||
ownerDocument.mozCancelFullScreen ||
ownerDocument.msExitFullscreen;
if (docBoundExit) {
docBoundExit.call(ownerDocument);
Expand Down

0 comments on commit 7bfffec

Please sign in to comment.