瀏覽代碼

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;
}
}
}


Loading…
取消
儲存