summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/js')
-rw-r--r--addons/web_editor/static/src/js/snippets.options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/snippets.options.js b/addons/web_editor/static/src/js/snippets.options.js
index 3f933f4c191..357fa19c9ed 100644
--- a/addons/web_editor/static/src/js/snippets.options.js
+++ b/addons/web_editor/static/src/js/snippets.options.js
@@ -383,7 +383,7 @@ odoo.define('web_editor.snippets.options', function (require) {
},
select_class : function (type, value, $li) {
this.background(type, '', $li);
- this._super(type, value, $li);
+ this._super(type, value ? (value + " oe_img_bg") : value, $li);
},
choose_image: function (type, value, $li) {
if(type !== "click") return;