|
@@ -1785,7 +1785,7 @@ function destroyHotSpots() { |
|
|
for (var i = 0; i < hs.length; i++) { |
|
|
for (var i = 0; i < hs.length; i++) { |
|
|
var current = hs[i].div; |
|
|
var current = hs[i].div; |
|
|
if (current) { |
|
|
if (current) { |
|
|
while(current.parentNode != renderContainer) { |
|
|
|
|
|
|
|
|
while (current.parentNode && current.parentNode != renderContainer) { |
|
|
current = current.parentNode; |
|
|
current = current.parentNode; |
|
|
} |
|
|
} |
|
|
renderContainer.removeChild(current); |
|
|
renderContainer.removeChild(current); |
|
|