Ver a proveniência

Fix bug where fullscreen button was not displayed in IE.

pull/234/head
Matthew Petroff há 8 anos
ascendente
cometimento
d5282e1fec
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js Ver ficheiro

@@ -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


Carregando…
Cancelar
Guardar