diff options
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
| -rw-r--r-- | addons/web_editor/static/src/js/transcoder.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/transcoder.js b/addons/web_editor/static/src/js/transcoder.js index c7bcd14107f..9188bfabb45 100644 --- a/addons/web_editor/static/src/js/transcoder.js +++ b/addons/web_editor/static/src/js/transcoder.js @@ -46,7 +46,7 @@ var getMatchedCSSRules = function (a) { if (style.parentRule) { var style_obj = {}; for (var k=0, len=style.length; k<len; k++) { - style_obj[style[k]] = style[style[k]]; + style_obj[style[k]] = style[style[k].replace(/-(.)/g, function (a, b) { return b.toUpperCase(); })]; } rulesCache[r].style = style = style_obj; } |
