0.00
diff --git a/prank.js b/prank.js
index a9bd71c..0257dc0 100644
--- a/prank.js
+++ b/prank.js
@@ -1,5 +1,9 @@
var sound = new Howl({
- urls: ['crack.mp3']
+ urls: ['crack.mp3'],
+ onload: function(){
+ // makes sure the sound is loaded. then shows the html content
+ $('.container').removeClass('hidden');
+ }
});
diff --git a/style.css b/style.css
index ce7bc8c..3508dba 100644
--- a/style.css
+++ b/style.css
@@ -43,3 +43,7 @@ span.done{
height: 100%;
display: none;
}
+
+.hidden{
+ display: none;
+}