fix init of seasonals

This commit is contained in:
MLH
2024-12-22 01:51:51 +01:00
parent 0071be6570
commit d5c697afdf
8 changed files with 55 additions and 70 deletions

View File

@ -98,7 +98,6 @@ function animateSnowflake(snowflake) {
}
// initialize snowstorm after the DOM is loaded
document.addEventListener('DOMContentLoaded', () => {
if (!snowstorm) return; // exit if snowstorm is disabled
createSnowstorm();
});
if (!snowstorm) return; // exit if snowstorm is disabled
createSnowstorm();