Added timeout to error message

This commit is contained in:
RemixDev 2022-02-05 01:12:34 +01:00
parent bdd4ee5bfb
commit c4cd5cb3b8
1 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,7 @@
font-family: sans-serif;
background-color: hsl(240, 12%, 16%);
border-radius: 10px;
display: none;
}
</style>
@ -44,5 +45,11 @@
</p>
</body>
<script>
setTimeout(()=>{
let missingBundle = document.getElementById('missingBundle')
if (missingBundle) missingBundle.style.display = 'block'
}, 3000)
</script>
<script src="js/bundle.js"></script>
</html>