diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg_iframe.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg_iframe.js index 6757797c82c..1c2af6697d7 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg_iframe.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg_iframe.js @@ -36,8 +36,6 @@ Wysiwyg.include({ if (!this.options.inIframe) { return this._super(); } - var debug = odoo.debug; - odoo.debug = false; var defAsset; if (this.options.iframeCssAssets) { @@ -50,8 +48,6 @@ Wysiwyg.include({ } promiseWysiwyg = promiseWysiwyg || ajax.loadAsset('web_editor.wysiwyg_iframe_editor_assets'); - odoo.debug = debug; - this.defAsset = Promise.all([promiseWysiwyg, defAsset]); this.$target = this.$el;