fix inits
This commit is contained in:
@ -97,7 +97,10 @@ function animateSnowflake(snowflake) {
|
||||
fall();
|
||||
}
|
||||
|
||||
// initialize snowstorm after the DOM is loaded
|
||||
if (!snowstorm) return; // exit if snowstorm is disabled
|
||||
createSnowstorm();
|
||||
// initialize snowstorm
|
||||
function initializeSnowstorm() {
|
||||
if (!snowstorm) return; // exit if snowstorm is disabled
|
||||
createSnowstorm();
|
||||
}
|
||||
|
||||
initializeSnowstorm();
|
Reference in New Issue
Block a user