Ajout: Preload la page avec animation chargement

This commit is contained in:
Divlo
2019-12-29 04:13:11 +01:00
parent 1f26995f2e
commit 8bd56568fe
4 changed files with 157 additions and 29 deletions

View File

@ -108,4 +108,9 @@ $(function () {
autoclose: false,
todayHighlight: true
});
window.addEventListener('load', () => {
document.querySelector('body').classList.remove('loading');
document.getElementById('preloader').remove();
});
});