From 3adbf22f27d6723888b177b3004cc01053ae68cf Mon Sep 17 00:00:00 2001 From: CodeDevMLH Date: Sat, 21 Dec 2024 19:28:16 +0100 Subject: [PATCH] add comment for test site img array --- halloween.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/halloween.js b/halloween.js index d3aa888..a36caec 100644 --- a/halloween.js +++ b/halloween.js @@ -41,17 +41,21 @@ observer.observe(document.body, { attributes: true // observe changes to attributes (e.g. class changes) }); -/* + const images = [ "./web/seasonal/halloween_images/ghost_20x20.png", "./web/seasonal/halloween_images/bat_20x20.png", "./web/seasonal/halloween_images/pumpkin_20x20.png", -];*/ +]; + +// remove commented out image array to enable test site working, comment out above images array for that +/* const images = [ "./images/ghost_20x20.png", "./images/bat_20x20.png", "./images/pumpkin_20x20.png", ]; +*/ function addRandomSymbols(count) { const halloweenContainer = document.querySelector('.halloween-container'); // get the halloween container