Commit d4345bd9 authored by Romain Courteaud's avatar Romain Courteaud

Support file location

parent 78468a2d
......@@ -42,7 +42,8 @@
event.source.location.pathname,
frame.getAttribute("src").split("?")[0]
) < 0) {
frame.contentWindow.postMessage(event.data, window.location.href);
frame.contentWindow.postMessage(event.data, "*");
// frame.contentWindow.postMessage(event.data, window.location.href);
}
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment