Added timeout to error message

This commit is contained in:
RemixDev 2022-02-05 01:12:34 +01:00
parent bdd4ee5bfb
commit c4cd5cb3b8

View File

@ -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>