From 358509a25cc2a0767761a66e2d1f782dda30d4f1 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Tue, 14 Mar 2023 14:35:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20doc-158?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/editor/pdf-signer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/editor/pdf-signer.tsx b/apps/web/components/editor/pdf-signer.tsx index 9fc9e230a..113c165db 100644 --- a/apps/web/components/editor/pdf-signer.tsx +++ b/apps/web/components/editor/pdf-signer.tsx @@ -145,7 +145,7 @@ export default function PDFSigner(props: any) { pdfUrl={`${NEXT_PUBLIC_WEBAPP_URL}/api/documents/${router.query.id}?token=${router.query.token}`} onClick={onClick} onMouseDown={function onMouseDown(e: any, page: number) { - if (e.Button === 0 && signatureFields.length === 0) + if (signatureFields.length === 0) addFreeSignature(e, page, props.recipient); }} onMouseUp={() => {}}