Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix gif in link
Marc Seitzbe829c0c9b60
diff --git a/components/view/viewer/pages-horizontal-viewer.tsx b/components/view/viewer/pages-horizontal-viewer.tsxindex 6ff226d7..cd5c2983 100644--- a/components/view/viewer/pages-horizontal-viewer.tsx+++ b/components/view/viewer/pages-horizontal-viewer.tsx@@ -668,7 +668,7 @@ export default function PagesHorizontalViewer({{page.pageLinks ? (<map name={`page-map-${index + 1}`}>{page.pageLinks- .filter((link) => !link.href.includes(".gif"))+ .filter((link) => !link.href.endsWith(".gif")).map((link, index) => (<areakey={index}@@ -698,7 +698,7 @@ export default function PagesHorizontalViewer({{/** Automatically Render Overlays **/}{page.pageLinks? page.pageLinks- .filter((link) => link.href.includes(".gif"))+ .filter((link) => link.href.endsWith(".gif")).map((link, linkIndex) => {const [x1, y1, x2, y2] = scaleCoordinates(link.coords,@@ -830,12 +830,10 @@ export default function PagesHorizontalViewer({{showPoweredByBanner ? <PoweredBy linkId={linkId} /> : null}<AwayPosterisVisible={isInactive}- inactivityThreshold={- getTrackingOptions().inactivityThreshold- }+ inactivityThreshold={getTrackingOptions().inactivityThreshold}onDismiss={updateActivity}/></div></>);-}\ No newline at end of file+}diff --git a/components/view/viewer/pages-vertical-viewer.tsx b/components/view/viewer/pages-vertical-viewer.tsxindex 29c1d2f8..e453f199 100644--- a/components/view/viewer/pages-vertical-viewer.tsx+++ b/components/view/viewer/pages-vertical-viewer.tsx@@ -871,7 +871,7 @@ export default function PagesVerticalViewer({{page.pageLinks ? (<map name={`page-map-${index + 1}`}>{page.pageLinks- .filter((link) => !link.href.includes(".gif"))+ .filter((link) => !link.href.endsWith(".gif")).map((link, linkIndex) => (<areakey={linkIndex}@@ -902,7 +902,7 @@ export default function PagesVerticalViewer({{page.pageLinks? page.pageLinks- .filter((link) => link.href.includes(".gif"))+ .filter((link) => link.href.endsWith(".gif")).map((link, linkIndex) => {const [x1, y1, x2, y2] = scaleCoordinates(link.coords,