diff --git a/addons/web_editor/static/src/js/snippets.options.js b/addons/web_editor/static/src/js/snippets.options.js index a6cbb7bb002..996daee8753 100644 --- a/addons/web_editor/static/src/js/snippets.options.js +++ b/addons/web_editor/static/src/js/snippets.options.js @@ -318,6 +318,7 @@ odoo.define('web_editor.snippets.options', function (require) { var res = this._super.apply(this, arguments); this.$target.off(".background-option") .on("background-color-event.background-option", (function (e, type) { + e.stopPropagation(); this.$el.find("li:first > a").trigger(type); }).bind(this)); return res;