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 11b09d83c66..cb02079a93c 100644 --- a/addons/web_editor/static/src/js/editor/snippets.editor.js +++ b/addons/web_editor/static/src/js/editor/snippets.editor.js @@ -444,6 +444,7 @@ var SnippetEditor = Widget.extend({ // Show/hide overlay in preview mode or not this.$el.toggleClass('oe_active', show); this.cover(); + this.toggleOverlayVisibility(show); }, /** * Displays/Hides the editor (+ parent) options and call onFocus/onBlur if