From bd8f4c360a5bf6cd3f4e2f24f68bda5a7c3d30e4 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 26 Sep 2014 10:18:14 -0400 Subject: [PATCH] Fix some function stuff --- assets/scripts/africa.js | 4 ++-- index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 @@
- +