aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js
index 1e86104..52f9ad7 100755
--- a/src/element.js
+++ b/src/element.js
@@ -303,7 +303,7 @@ SVG.Element = SVG.invent({
}
} else {
- this.node.style[camelCase(s)] = v === null || SVG.regex.isBlank.test(v) ? null : v
+ this.node.style[camelCase(s)] = v === null || SVG.regex.isBlank.test(v) ? '' : v
}
return this