From d5282e1fece62db9695a9b7d4875aa376ce82587 Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Wed, 24 Aug 2016 19:11:26 -0400 Subject: [PATCH] Fix bug where fullscreen button was not displayed in IE. --- src/js/pannellum.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/pannellum.js b/src/js/pannellum.js index 2627ea4..1c6a207 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -193,7 +193,7 @@ controls.container.appendChild(controls.zoom); controls.fullscreen = document.createElement('div'); controls.fullscreen.addEventListener('click', toggleFullscreen); controls.fullscreen.className = 'pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control'; -if (document.fullscreenEnabled || document.mozFullScreenEnabled || document.webkitFullscreenEnabled) +if (document.fullscreenEnabled || document.mozFullScreenEnabled || document.webkitFullscreenEnabled || document.msFullscreenEnabled) controls.container.appendChild(controls.fullscreen); // Device orientation toggle