Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elmuerte committed Apr 3, 2024
1 parent c718689 commit 5d1572d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,14 @@ <h1 class="no-anchor" data-toc-skip>
".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();
Expand Down

0 comments on commit 5d1572d

Please sign in to comment.