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();
window.waitUntil = display.time.getTime();
if (window.parent) {
setTimeout(() => {
window.parent.postMessage({
waitUntil: window.waitUntil,
}, '*');
}, 10000);
}
});
</script>