Skip to content

Commit

Permalink
Fix fullscreen detection on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Sep 12, 2017
1 parent 0dff6be commit c462e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/control/fullscreen_control.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class FullscreenControl {
_checkFullscreenSupport() {
return !!(
window.document.fullscreenEnabled ||
(window.document: any).mozFullscreenEnabled ||
(window.document: any).mozFullScreenEnabled ||
(window.document: any).msFullscreenEnabled ||
(window.document: any).webkitFullscreenEnabled
);
Expand Down

0 comments on commit c462e30

Please sign in to comment.