Merge branch 'iframex' into staging

This commit is contained in:
yflory 2021-10-19 14:25:20 +02:00
commit a8537903ad
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ define([
// loading screen setup.
var done = waitFor();
var onMsg = function (msg) {
if (!msg || !msg.data) { return; }
var data = typeof(msg.data) === "object" ? msg.data : JSON.parse(msg.data);
if (data.q !== 'READY') { return; }
window.removeEventListener('message', onMsg);