Skip to content

Commit 6d8417b

Browse files
committed
fixed the small audio visualzer in the navbar
1 parent 70284d8 commit 6d8417b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

homepage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ let run = false
174174
let allow = true
175175
let opacity = 0
176176
canvas.addEventListener('click',async (e)=>{
177-
if(!allow){
177+
if(!allow || firstclick){
178178
e.preventDefault()
179179
return
180180
}

0 commit comments

Comments
 (0)