From a19301ab5d2e66d155f00e7277ef98fc83d8fedc Mon Sep 17 00:00:00 2001 From: frankpagan Date: Sun, 26 Nov 2023 22:22:23 -0600 Subject: [PATCH] fix: typo --- src/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index a4c5071..2d9a467 100644 --- a/src/index.js +++ b/src/index.js @@ -105,9 +105,8 @@ function initEvent(element, input) { async function setCalcationResult(element) { const { object, isRealtime } = getAttributes(element); - let calculate = element.getAttribute('calculate'); - let calString = await getValues(calculate); + let calString = await getValues(element.getAttribute('calculate')); if (calString) { let result = calculate(calString);