浏览代码

Fix bug where fullscreen button was not displayed in IE.

pull/234/head
Matthew Petroff 8 年前
父节点
当前提交
d5282e1fec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
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


正在加载...
取消
保存