summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/inline.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-09-28 14:08:00 +0200
committerChristophe Matthieu <chm@odoo.com>2015-09-28 15:23:35 +0200
commitd459359e87921619028d856a50c462288c0abe9d (patch)
tree63aae5eb30c1f740abba0361bd5b1d338ec0b2dc /addons/web_editor/static/src/js/inline.js
parentbdf58adb465b2016d0d288cdcdec592e4151061d (diff)
[IMP] web_editor: Convert font-awsome into picture before convert class into style to remove unnecessary style attributes
Diffstat (limited to 'addons/web_editor/static/src/js/inline.js')
-rw-r--r--addons/web_editor/static/src/js/inline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/inline.js b/addons/web_editor/static/src/js/inline.js
index a843d740a48..2b6ee1c6595 100644
--- a/addons/web_editor/static/src/js/inline.js
+++ b/addons/web_editor/static/src/js/inline.js
@@ -53,8 +53,8 @@ snippet_editor.Class.include({
clean_for_save: function () {
this._super();
var $editable = $("#editable_area");
- transcoder.class_to_style($editable);
transcoder.font_to_img($editable);
+ transcoder.class_to_style($editable);
// fix outlook image rendering bug
_.each(['width', 'height'], function(attribute) {