Skip to content

Commit

Permalink
fix: querySelectorAll
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroSuero committed Apr 26, 2024
1 parent 225637d commit f05264e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ClipsModal.astro
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
</style>

<script>
import { $ } from "@/lib/dom-selector"
import { $, $$ } from "@/lib/dom-selector"

document.addEventListener("astro:page-load", () => {
const $clipContainer = $(".clip-container")
const $clipContainer = $$(".clip-container")
const $clipDialog = $(".clip-dialog") as HTMLDialogElement
const $closeButton = $(".close-dialog")
const $ytFrame = $(".yt-iframe")
Expand Down

0 comments on commit f05264e

Please sign in to comment.