fix div name

This commit is contained in:
MLH
2024-12-16 19:22:54 +01:00
parent 90e8962926
commit a7ab341a7d
2 changed files with 3 additions and 3 deletions

View File

@@ -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;