Skip to content

The Open Source DocuSign Alternative.

🐛 doc-158

Timur Ercan358509a25cc2
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={() => {}}