Send waitUntil later

This commit is contained in:
Henri Bergius 2018-12-27 22:27:09 +01:00
parent fbe4988e22
commit 429811cb3a

View file

@ -89,9 +89,11 @@
updateCountDown(); updateCountDown();
window.waitUntil = display.time.getTime(); window.waitUntil = display.time.getTime();
if (window.parent) { if (window.parent) {
setTimeout(() => {
window.parent.postMessage({ window.parent.postMessage({
waitUntil: window.waitUntil, waitUntil: window.waitUntil,
}, '*'); }, '*');
}, 10000);
} }
}); });
</script> </script>