webwml/js/animate.js
2017-06-16 11:16:38 +02:00

9 lines
281 B
JavaScript

document.addEventListener("DOMContentLoaded", function(event) {
var animate = document.getElementById("animate");
animate.classList.add("not-loaded");
window.setTimeout(function () {
animate.classList.remove("not-loaded");
animate.classList.add("loaded");
}, 0);
});