fix init of seasonals
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user