diff --git a/src/index.html b/src/index.html index 2cf8672..641d032 100644 --- a/src/index.html +++ b/src/index.html @@ -390,10 +390,14 @@

".playQuote", )) { playBtn.addEventListener("click", (e) => { - for (let cards of quoteTargetElm.querySelectorAll(".card.quote")) { + for (let cards of quoteTargetElm.querySelectorAll( + ".card.quote", + )) { cards.classList.remove("border-success"); } - playBtn.closest(".card").classList.add("border-success"); + playBtn + .closest(".card") + .classList.add("border-success"); e.preventDefault(); playQuote(playBtn.dataset.fqnId, playBtn.dataset.src); playBtn.blur();