1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-26 00:11:13 +02:00

detached-window: typo

This commit is contained in:
Kushagra Gour
2019-02-28 23:49:47 +05:30
parent bd76602b19
commit 713536d9ab

View File

@@ -9,7 +9,7 @@ window.addEventListener('message', e => {
frame.contentDocument.close();
}, 10);
}
if (e.data && e.data.url && e.data.match(/preview\.html/)) {
if (e.data && e.data.url && e.data.url.match(/preview\.html/)) {
document.querySelector('iframe').src = e.data.url;
}