Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Nov 27, 2023
1 parent 7fed35b commit a19301a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a19301a

Please sign in to comment.