summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/aseem.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/aseem.js b/static/aseem.js
index 4f7735a..e110742 100644
--- a/static/aseem.js
+++ b/static/aseem.js
@@ -48,7 +48,9 @@ function rotate(text) {
return text.substring(1) + text[0];
}
-document.getElementsByTagName('audio')[0].play()
+document.getElementById('legit').addEventListener('click', function() {
+ document.getElementsByTagName('audio')[0].play();
+})
var titleText = document.title + ' ' // buffer
setInterval(function() {