From 59bd41e0ca5b37f8eca221665f6a946919410630 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 12 Sep 2017 08:01:53 -0700 Subject: [PATCH] Fix fullscreen detection on Firefox --- src/ui/control/fullscreen_control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/control/fullscreen_control.js b/src/ui/control/fullscreen_control.js index b1a7abea4dd..d6fb7bb1203 100644 --- a/src/ui/control/fullscreen_control.js +++ b/src/ui/control/fullscreen_control.js @@ -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 );