From da996658390f74455cdbfe2add81f1a30407446a Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Fri, 1 Nov 2024 15:13:14 -0400 Subject: [PATCH] Fix close handlers on PageAction modals --- src/lib/components/viewer/PageActions.svelte | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/lib/components/viewer/PageActions.svelte b/src/lib/components/viewer/PageActions.svelte index ed67a373e..352a847f8 100644 --- a/src/lib/components/viewer/PageActions.svelte +++ b/src/lib/components/viewer/PageActions.svelte @@ -111,7 +111,7 @@ {/if} {#if editSection} - + (editSection = false)}>

{#if section} {$_("annotate.cta.edit-section")} @@ -121,7 +121,7 @@

(editSection = false)} section={section || { page_number: page_number - 1 }} />
@@ -129,11 +129,15 @@ {/if} {#if pageNote} - + (pageNote = false)}>

{$_("annotate.cta.add-note")}

- + (pageNote = false)} + />
{/if}