From 491170555e708ee132113cba8105e9d2827ebcd1 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 21 Nov 2022 13:47:22 -0500 Subject: [PATCH] minor audio update --- layouts/shortcodes/audio.html | 4 ++-- layouts/shortcodes/video.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/shortcodes/audio.html b/layouts/shortcodes/audio.html index 350b26f..a8e3b01 100644 --- a/layouts/shortcodes/audio.html +++ b/layouts/shortcodes/audio.html @@ -90,10 +90,10 @@ audio = event.target.parentElement.children[0]; audio.loop = !audio.loop; if (audio.loop){ - event.target.classList.add("spin"); + event.target.children[0].classList.add("spin"); } else{ - event.target.classList.remove("spin"); + event.target.children[0].classList.remove("spin"); } } function update_audio_time(event) { diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index 1cb3151..8e2b01d 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -95,19 +95,19 @@ + id="path8948-3"/> + id="path8948-3-5"/> + id="path8948-3-6"/> + id="path8948-3-5-2"/>