From 53bdc365e6b27ebf8d2292e41921a7980e1dfed1 Mon Sep 17 00:00:00 2001 From: sy Date: Wed, 3 Jul 2024 16:17:03 -0400 Subject: fix --- index.html | 1 + static/aseem.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 2e629d5..56030a6 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ + 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() { -- cgit v1.2.3