From 014fa7912aa2c325eb27977ac0364cccb0cb0199 Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Thu, 21 Nov 2024 11:16:43 -0500 Subject: [PATCH] Only one way to get a search query --- src/lib/components/viewer/ReadingToolbar.svelte | 7 +++++-- src/lib/components/viewer/Text.svelte | 14 ++++++-------- src/lib/components/viewer/ViewerContext.svelte | 6 ------ .../(app)/documents/[id]-[slug]/+page.svelte | 2 +- src/routes/embed/documents/[id]-[slug]/+page.ts | 2 +- 5 files changed, 13 insertions(+), 18 deletions(-) diff --git a/src/lib/components/viewer/ReadingToolbar.svelte b/src/lib/components/viewer/ReadingToolbar.svelte index c51417566..c50abaefe 100644 --- a/src/lib/components/viewer/ReadingToolbar.svelte +++ b/src/lib/components/viewer/ReadingToolbar.svelte @@ -5,6 +5,8 @@ Assumes it's a child of a ViewerContext