1
0
Fork 0
forked from s3lph/matemat
matemat/static/js/overlay.js

14 lines
No EOL
392 B
JavaScript

setTimeout(() => {
let overlay = document.getElementById('overlay');
if (overlay !== null) {
overlay.style.display = 'block';
setTimeout(() => {
overlay.classList.add('fade');
setTimeout(() => {
overlay.style.display = 'none';
overlay.classList.remove('fade');
}, 500);
}, 500);
}
}, 0);