Skip to content

Commit

Permalink
Take hash out of page ID
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed May 3, 2024
1 parent 5a94a06 commit 586c4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/documents/Page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
export let page_number: number;
export let mode: ViewerMode = "document";
$: id = pageHashUrl(page_number);
$: id = pageHashUrl(page_number).replace("#", "");
$: href = `?mode=${mode}` + pageHashUrl(page_number);
</script>

Expand Down

0 comments on commit 586c4c2

Please sign in to comment.