diff options
| author | Csaba Fazekas <csabafazekasster@gmail.com> | 2016-07-28 09:48:04 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-09-05 17:01:50 +0100 |
| commit | 9676ceec0260671cf86a27d02160f132378319a1 (patch) | |
| tree | beb50f55f6beb4fa7dd83818e9b06efd2eb9a7f0 /addons/web_editor/static/src/js/transcoder.js | |
| parent | 1501b30c5373cbdd85a9fc9e1867c374c1a2c108 (diff) | |
[REF] mass_mailing: change/add snippets/themes layout/design
* Airmail/Lemon/Tech template/Odoo template
* Add bg color option
* Clean snippets
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
| -rw-r--r-- | addons/web_editor/static/src/js/transcoder.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/transcoder.js b/addons/web_editor/static/src/js/transcoder.js index dd1a6a498b3..fbdc4b34b87 100644 --- a/addons/web_editor/static/src/js/transcoder.js +++ b/addons/web_editor/static/src/js/transcoder.js @@ -58,6 +58,9 @@ var getMatchedCSSRules = function (a) { if (style.parentRule) { var style_obj = {}; for (var k=0, len=style.length; k<len; k++) { + if (style[k].indexOf('animation') !== -1) { + continue; + } style_obj[style[k]] = style[style[k].replace(/-(.)/g, function (a, b) { return b.toUpperCase(); })]; if (new RegExp(style[k] + '\s*:[^:;]+!important' ).test(style.cssText)) { style_obj[style[k]] += ' !important'; |
