|
|
@ -47,12 +47,15 @@ var afterLoaded = function (req) {
|
|
|
|
window.addEventListener('message', onReply);
|
|
|
|
window.addEventListener('message', onReply);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var intr = setInterval(function () {
|
|
|
|
var load0 = function () {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
var req = JSON.parse(decodeURIComponent(window.location.hash.substring(1)));
|
|
|
|
var req = JSON.parse(decodeURIComponent(window.location.hash.substring(1)));
|
|
|
|
clearInterval(intr);
|
|
|
|
|
|
|
|
afterLoaded(req);
|
|
|
|
afterLoaded(req);
|
|
|
|
} catch (e) { console.error(e); }
|
|
|
|
} catch (e) {
|
|
|
|
}, 100);
|
|
|
|
console.error(e);
|
|
|
|
|
|
|
|
setTimeout(load0, 100);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
load0();
|
|
|
|
|
|
|
|
|
|
|
|
}());
|
|
|
|
}());
|
|
|
|