Skip to content

Commit

Permalink
Ahh nice, I think this href was somehow actually removing the query p…
Browse files Browse the repository at this point in the history
…arams. e.preventDefault seems to work here
  • Loading branch information
coreyja committed Jan 20, 2024
1 parent 46c23b7 commit 9ff624e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/(iframed)/settings/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
{ value: 18, text: "Fast" }
];
function navigateBack() {
function navigateBack(e) {
e.preventDefault();
history.back();
}
</script>
Expand Down

0 comments on commit 9ff624e

Please sign in to comment.