From 7c01b64f855372b690138a6c621b3c0c44c92d06 Mon Sep 17 00:00:00 2001 From: ccl Date: Thu, 7 Mar 2024 15:46:13 +0100 Subject: [PATCH] Update 'index.html' --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 015db32..8538278 100644 --- a/index.html +++ b/index.html @@ -187,6 +187,7 @@ var audio = document.getElementById("player"); audio.volume = 0.6; var butn = document.getElementById("audioButton"); + var audio2 = document.getElementById("player2"); audio.volume = 0.6; var butn2 = document.getElementById("audioButton2"); @@ -203,7 +204,7 @@ } function Play2() { - if(audio.paused) { + if(audio2.paused) { audio2.play(); butn2.innerText = "Pause"; }