diff --git a/addons/website_blog/static/src/js/website_blog.editor.js b/addons/website_blog/static/src/js/website_blog.editor.js index 95daa0fba985a7e76c416dfb34c17c4f1230d364..970092f85014f21056208063e3ea42b9b7a13fce 100644 --- a/addons/website_blog/static/src/js/website_blog.editor.js +++ b/addons/website_blog/static/src/js/website_blog.editor.js @@ -180,7 +180,6 @@ options.registry.CoverProperties.include({ * @override */ updateUI: async function () { - await this._super(...arguments); var isRegularCover = this.$target.is('.o_wblog_post_page_cover_regular'); var $coverFull = this.$el.find('[data-select-class*="o_full_screen_height"]'); var $coverMid = this.$el.find('[data-select-class*="o_half_screen_height"]'); @@ -191,6 +190,7 @@ options.registry.CoverProperties.include({ $coverFull.children('div').text(isRegularCover ? _t("Large") : this._coverFullOriginalLabel); $coverMid.children('div').text(isRegularCover ? _t("Medium") : this._coverMidOriginalLabel); $coverAuto.children('div').text(isRegularCover ? _t("Tiny") : this._coverAutoOriginalLabel); + return this._super(...arguments); }, });