mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-14 15:18:28 +00:00
Eqeqeq
This commit is contained in:
parent
f0cfa1effd
commit
e762910907
@ -159,7 +159,7 @@ const eventer = window[eventMethod];
|
||||
const messageEvent = eventMethod === "attachEvent" ? "onmessage" : "message";
|
||||
|
||||
eventer(messageEvent, function (e) {
|
||||
if (e.source != iframe.contentWindow){return} // reject messages send from other iframes
|
||||
if (e.source !== iframe.contentWindow){return} // reject messages send from other iframes
|
||||
|
||||
if ("stats" in e.data){
|
||||
const outputWindow = document.createElement("div");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user