aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/optional/css.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/optional/css.js b/src/modules/optional/css.js
index c4a593a..ee93869 100644
--- a/src/modules/optional/css.js
+++ b/src/modules/optional/css.js
@@ -23,7 +23,7 @@ export function css (style, val) {
if (Array.isArray(style)) {
for (const name of style) {
const cased = camelCase(name)
- ret[cased] = this.node.style[cased]
+ ret[name] = this.node.style[cased]
}
return ret
}