From a9be963ab39cafc3188bb5ea116e1495e6e6b4ba Mon Sep 17 00:00:00 2001 From: Zakhar Shchipets Date: Wed, 8 Nov 2023 16:52:21 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D1=8F=D0=B5?= =?UTF-8?q?=D1=82=20=D0=BF=D0=BE=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=BF=D1=80=D0=B8=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=D0=B5=20?= =?UTF-8?q?=D1=82=D0=B5=D0=BC=D1=8B=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=B0=D1=81?= =?UTF-8?q?=D1=82=D0=B0=20(#356)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Изменяет поведение при выборе темы подкаста * Изменяет поведение при выборе темы подкаста --- src/scripts/modules/podcast.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/scripts/modules/podcast.js b/src/scripts/modules/podcast.js index 7b7a76cbf..dc5fb686b 100644 --- a/src/scripts/modules/podcast.js +++ b/src/scripts/modules/podcast.js @@ -56,16 +56,9 @@ function handlePassedTimecode() { function initAnchor() { window.addEventListener('hashchange', () => { handlePassedTimecode(); - playAudio(); }); } -function playAudio() { - if (player.paused) { - player.play(); - } -} - if (player) { if (player.networkState === HTMLMediaElement.NETWORK_LOADING) { player.addEventListener('loadedmetadata', handlePassedTimecode);