diff options
Diffstat (limited to 'src/modules/core/attr.js')
-rw-r--r-- | src/modules/core/attr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/core/attr.js b/src/modules/core/attr.js index f90dcb9..79dd0d7 100644 --- a/src/modules/core/attr.js +++ b/src/modules/core/attr.js @@ -41,7 +41,7 @@ export default function attr (attr, val, ns) { val = this.node.getAttribute(attr) return val == null ? defaults[attr] : isNumber.test(val) ? parseFloat(val) - : val + : val } else { // Loop through hooks and execute them to convert value val = hooks.reduce((_val, hook) => { |