shx-3d-render
parent
218faf5fac
commit
8206fa3341
|
@ -120,7 +120,7 @@
|
|||
}
|
||||
|
||||
|
||||
|
||||
const uuid = this.uuid;
|
||||
window.addEventListener('message', function(event) {
|
||||
if(event.origin !== "https://3d-viewer.shinnex.de") return;
|
||||
|
||||
|
@ -132,6 +132,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
if(data.uuid !== uuid) return;
|
||||
|
||||
console.log("Message received from the child: ", data); // Message received from child
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue