diff options
author | Xavier Roger-Machart <xrm@omegacube.fr> | 2014-05-02 17:17:41 +0200 |
---|---|---|
committer | Xavier Roger-Machart <xrm@omegacube.fr> | 2014-05-02 17:17:41 +0200 |
commit | cd4bf2af4e974552649646ffd1daaa0219f26ddd (patch) | |
tree | b8cf41e5bbcc665e94d040515cdb4cec9872c3f5 /src | |
parent | 63bf7b9d4dace89d0b6648d6d6af5df47db19a18 (diff) | |
download | svg.js-cd4bf2af4e974552649646ffd1daaa0219f26ddd.tar.gz svg.js-cd4bf2af4e974552649646ffd1daaa0219f26ddd.zip |
Fixed a bug where Element.style() would not save empty values in IE11
Diffstat (limited to 'src')
-rwxr-xr-x | src/element.js | 2 |
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 |