From 968da6ea9852ceb7f98d764de1b7bf27d0f9ff7d Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Mon, 19 Dec 2022 12:40:54 +0200 Subject: [PATCH] Update --- public/bundle.js | 4 ++-- public/index.html | 2 +- public/index.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index a137082..28e6a0d 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20390,10 +20390,10 @@ remoteSoundControl.defaultMuted = true remoteSoundControl.addEventListener('click', function handleClick() { console.log('remoteSoundControl.textContent', remoteSoundControl.textContent); if (remoteSoundControl.textContent === 'Unmute') { - vid.muted = false + remoteSoundControl.muted = false remoteSoundControl.textContent = 'Mute'; } else { - vid.muted = true + remoteSoundControl.muted = true remoteSoundControl.textContent = 'Unmute'; } }); diff --git a/public/index.html b/public/index.html index 9e54055..8079794 100644 --- a/public/index.html +++ b/public/index.html @@ -48,7 +48,7 @@
- +
diff --git a/public/index.js b/public/index.js index 1b1de28..e6f3423 100644 --- a/public/index.js +++ b/public/index.js @@ -32,10 +32,10 @@ remoteSoundControl.defaultMuted = true remoteSoundControl.addEventListener('click', function handleClick() { console.log('remoteSoundControl.textContent', remoteSoundControl.textContent); if (remoteSoundControl.textContent === 'Unmute') { - vid.muted = false + remoteSoundControl.muted = false remoteSoundControl.textContent = 'Mute'; } else { - vid.muted = true + remoteSoundControl.muted = true remoteSoundControl.textContent = 'Unmute'; } });