浏览代码

Fix bug related to removing hot spots.

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

+ 2
- 2
src/js/pannellum.js 查看文件

@@ -1736,7 +1736,7 @@ function createHotSpots() {
}

/**
* Destroys currently create hot spot elements.
* Destroys currently created hot spot elements.
* @private
*/
function destroyHotSpots() {
@@ -1750,7 +1750,7 @@ function destroyHotSpots() {
current = current.parentNode;
}
renderContainer.removeChild(current);
delete hs.div;
delete hs[i].div;
}
}
}


正在加载...
取消
保存