aboutsummaryrefslogtreecommitdiff
path: root/static/funny.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/funny.js')
-rw-r--r--static/funny.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/static/funny.js b/static/funny.js
index 42343a5..0e703f7 100644
--- a/static/funny.js
+++ b/static/funny.js
@@ -1 +1,16 @@
-//nothing :) **FOR NOW** \ No newline at end of file
+bool = false
+var audio
+if (new Date().getMonth() === 9){
+ console.log("boo")
+ audio = new Audio('boo.mp3')
+} else {
+ audio = new Audio('for-maeve.mp3')
+}
+function no() {
+ bool = !bool
+ if(bool){
+ audio.play()
+ } else {
+ audio.pause()
+ }
+ }