Tell infoscreen to wait until finished

This commit is contained in:
Henri Bergius 2018-12-27 20:32:11 +01:00
parent a5819c492e
commit fbe4988e22

View file

@ -87,6 +87,12 @@
document.body.className = display.body;
title.innerHTML = display.message;
updateCountDown();
window.waitUntil = display.time.getTime();
if (window.parent) {
window.parent.postMessage({
waitUntil: window.waitUntil,
}, '*');
}
});
</script>
</body>