diff --git a/assets/scripts/africa.js b/assets/scripts/africa.js index ca40788..d1064bc 100644 --- a/assets/scripts/africa.js +++ b/assets/scripts/africa.js @@ -13,7 +13,7 @@ function makeItPlay() { autoplay: true, loop: true, onplay: function() { - control.style.visibility = 'hidden'; + play.style.visibility = 'hidden'; } }); @@ -31,7 +31,7 @@ function makeItRain() { background.crossOrigin = 'anonymous'; } -function play() { +function playSound() { sound.play(); } diff --git a/index.html b/index.html index 0c3d71b..9ef8763 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@
- +