From a1c23d3838f6551f01894be40c8894398467c541 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Tue, 18 Jun 2024 11:01:45 +0200 Subject: update dependencies --- src/modules/core/attr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/core') diff --git a/src/modules/core/attr.js b/src/modules/core/attr.js index 36b331b..8875c41 100644 --- a/src/modules/core/attr.js +++ b/src/modules/core/attr.js @@ -52,8 +52,8 @@ export default function attr(attr, val, ns) { return val == null ? defaults[attr] : isNumber.test(val) - ? parseFloat(val) - : val + ? parseFloat(val) + : val } else { // Loop through hooks and execute them to convert value val = hooks.reduce((_val, hook) => { -- cgit v1.2.3