From 9adc1ea4e70adf3d77dbcfc9ebd9abd7b53fe1b3 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 8 Oct 2025 10:26:25 +0200 Subject: [PATCH] refactor(annotation): remove unnecessary loop --- EnvelopeGenerator.Web/wwwroot/js/annotation.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/EnvelopeGenerator.Web/wwwroot/js/annotation.js b/EnvelopeGenerator.Web/wwwroot/js/annotation.js index 63eba1ac..a88bbcd0 100644 --- a/EnvelopeGenerator.Web/wwwroot/js/annotation.js +++ b/EnvelopeGenerator.Web/wwwroot/js/annotation.js @@ -7,11 +7,6 @@ function generateId(envelopeId, receiverId, annotationType) { async function createAnnotations(document, envelopeId, receiverId) { const signatures = []; - for (let element of document.elements) { - const annotParams = await getAnnotationParams(element.left, element.top); - const page = element.page - 1 - } - for (let element of document.elements) { const annotParams = await getAnnotationParams(element.left, element.top); const page = element.page - 1