diff --git a/script/gallery.ts b/script/gallery.ts index 44f7b58..1671a9d 100644 --- a/script/gallery.ts +++ b/script/gallery.ts @@ -90,7 +90,7 @@ function toggleSingles(e: Event) { } } - if (e) e.preventDefault(); + e.preventDefault(); }