From da3b2776fb9d4d2a30493de7349a597ed252c8b1 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 22 Feb 2024 13:49:24 -0500 Subject: [PATCH] More viewer pagination fixes --- src/pages/viewer/controls/Paginator.svelte | 31 +++++++++++++--------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/pages/viewer/controls/Paginator.svelte b/src/pages/viewer/controls/Paginator.svelte index 9c277952e..7f1a4de34 100644 --- a/src/pages/viewer/controls/Paginator.svelte +++ b/src/pages/viewer/controls/Paginator.svelte @@ -1,26 +1,31 @@ - -{#if $viewer.loaded && $doc.mode !== "search" && $doc.mode !== "notes" && $doc.mode !== "thumbnail"} +{#if $viewer.loaded && mode !== "search" && mode !== "notes" && mode !== "thumbnail"} 1} /> {/if}