ignore warning
This commit is contained in:
parent
4b0c218ab9
commit
db9e02737d
1 changed files with 2 additions and 0 deletions
|
@ -54,12 +54,14 @@ const audio = new Audio("/assets/sounds/ui/zapsplat_multimedia_button_click_004_
|
|||
const buttons = document.querySelectorAll("button");
|
||||
const links = document.querySelectorAll("a");
|
||||
|
||||
// biome-ignore lint/complexity/noForEach: <explanation>
|
||||
links.forEach(a => {
|
||||
a.addEventListener("click", () => {
|
||||
audio.play();
|
||||
})
|
||||
})
|
||||
|
||||
// biome-ignore lint/complexity/noForEach: <explanation>
|
||||
buttons.forEach(button => {
|
||||
button.addEventListener("click", () => {
|
||||
audio.play();
|
||||
|
|
Loading…
Reference in a new issue