diff --git a/addons/web_editor/static/src/js/editor/snippets.editor.js b/addons/web_editor/static/src/js/editor/snippets.editor.js index 74cf4ce7040..775165354ea 100644 --- a/addons/web_editor/static/src/js/editor/snippets.editor.js +++ b/addons/web_editor/static/src/js/editor/snippets.editor.js @@ -354,7 +354,7 @@ var SnippetEditor = Widget.extend({ })).data('editor', this); $optionsSection.on('mouseover', this._onOptionsSectionMouseOver.bind(this)); $optionsSection.on('mouseleave', this._onOptionsSectionMouseLeave.bind(this)); - $optionsSection.on('click', this._onOptionsSectionClick.bind(this)); + $optionsSection.on('click', 'we-title > span', this._onOptionsSectionClick.bind(this)); $optionsSection.on('click', '.oe_snippet_clone', this._onCloneClick.bind(this)); $optionsSection.on('click', '.oe_snippet_remove', this._onRemoveClick.bind(this)); this._customize$Elements.push($optionsSection);