|
@@ -1239,17 +1239,17 @@ window.initHot = function (model) {
|
|
|
g_currentHot = this,
|
|
|
popup.style.display = "block",
|
|
|
popup.classList.add("wait")
|
|
|
- var n = document.createElement("iframe")
|
|
|
+ var iframeElem = document.createElement("iframe")
|
|
|
|
|
|
SoundManager.play('hot')
|
|
|
|
|
|
var src = getCommonHotspotUrl(this.info.link)
|
|
|
- n.src = src
|
|
|
- n.id = "id1",
|
|
|
- n.allowTransparency = "true"
|
|
|
+ iframeElem.src = src
|
|
|
+ iframeElem.id = "id1",
|
|
|
+ iframeElem.allowTransparency = "true"
|
|
|
var a = document.getElementById("id1")
|
|
|
if (void 0 === a || null == a) {
|
|
|
- document.querySelector(".popup-content").appendChild(n)
|
|
|
+ document.querySelector(".popup-content").appendChild(iframeElem)
|
|
|
document.body.classList.add('hotspot-detail-open')
|
|
|
var s = !1
|
|
|
window.loaddingSuccess = function () {
|