diff --git a/autumn.js b/autumn.js index ef4cb12..01cbdd0 100644 --- a/autumn.js +++ b/autumn.js @@ -33,7 +33,7 @@ function toggleAutumn() { } // observe changes in the DOM -const observer = new MutationObserver(toggleSnowflakes); +const observer = new MutationObserver(toggleAutumn); // start observation observer.observe(document.body, { diff --git a/images/leaf7.png b/images/leaf7.png new file mode 100644 index 0000000..7b89b00 Binary files /dev/null and b/images/leaf7.png differ diff --git a/test-site.html b/test-site.html index b859b17..af5d253 100644 --- a/test-site.html +++ b/test-site.html @@ -12,9 +12,9 @@
+ -