Added timeout to error message
This commit is contained in:
parent
bdd4ee5bfb
commit
c4cd5cb3b8
@ -26,6 +26,7 @@
|
|||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background-color: hsl(240, 12%, 16%);
|
background-color: hsl(240, 12%, 16%);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@ -44,5 +45,11 @@
|
|||||||
</p>
|
</p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
setTimeout(()=>{
|
||||||
|
let missingBundle = document.getElementById('missingBundle')
|
||||||
|
if (missingBundle) missingBundle.style.display = 'block'
|
||||||
|
}, 3000)
|
||||||
|
</script>
|
||||||
<script src="js/bundle.js"></script>
|
<script src="js/bundle.js"></script>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user