changed even more

This commit is contained in:
Richard Mikloš 2024-01-25 16:05:13 +01:00
parent 9b3ab8ecde
commit 279867cca4

@ -2,6 +2,10 @@ document.addEventListener('DOMContentLoaded', function () {
var h1 = document.querySelector('.user-index-h1');
var h2 = document.querySelector('.user-index-h2');
// Trigger the reflow to restart the CSS animation
void h1.offsetWidth;
void h2.offsetWidth;
// Add the fade-in class to trigger the animation
h1.classList.add('fade-in');
h2.classList.add('fade-in');