From 586c4c2c5e31cca8525638833692c5945b90326d Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Fri, 3 May 2024 11:24:42 -0400 Subject: [PATCH] Take hash out of page ID --- src/lib/components/documents/Page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/documents/Page.svelte b/src/lib/components/documents/Page.svelte index 6e3256ed8..ac876bd25 100644 --- a/src/lib/components/documents/Page.svelte +++ b/src/lib/components/documents/Page.svelte @@ -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);