summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorCsaba Fazekas <csabafazekasster@gmail.com>2016-07-28 09:48:04 +0200
committerqsm-odoo <qsm@odoo.com>2016-09-05 17:01:50 +0100
commit9676ceec0260671cf86a27d02160f132378319a1 (patch)
treebeb50f55f6beb4fa7dd83818e9b06efd2eb9a7f0 /addons/web_editor/static/src/js/transcoder.js
parent1501b30c5373cbdd85a9fc9e1867c374c1a2c108 (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.js3
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';