Skip to content

Commit

Permalink
Remove preventDefault from anchor navigation (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanThatOneKid committed Feb 18, 2023
1 parent 5402167 commit d942274
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/components/nav/bar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
let checkbox: HTMLInputElement;
function handleClose(ev: Event) {
ev.preventDefault();
ev.stopPropagation();
if (checkbox.checked) {
checkbox.checked = false;
}
Expand Down

0 comments on commit d942274

Please sign in to comment.