fix div name
This commit is contained in:
@@ -6,7 +6,7 @@ let msgPrinted = false; // flag to prevent multiple console messages
|
||||
|
||||
// function to check and control the snowstorm
|
||||
function toggleSnowstorm() {
|
||||
const snowstormContainer = document.querySelector('.snow-container');
|
||||
const snowstormContainer = document.querySelector('.snowstorm');
|
||||
if (!snowstormContainer) return;
|
||||
|
||||
const videoPlayer = document.querySelector('.videoPlayerContainer');
|
||||
@@ -42,7 +42,7 @@ observer.observe(document.body, {
|
||||
|
||||
|
||||
function createSnowstorm() {
|
||||
const container = document.getElementById('snow-container');
|
||||
const container = document.getElementById('snowstorm');
|
||||
const windowWidth = window.innerWidth;
|
||||
const windowHeight = window.innerHeight;
|
||||
|
||||
|
Reference in New Issue
Block a user