diff --git a/addons/website_forum/static/src/js/website_forum.js b/addons/website_forum/static/src/js/website_forum.js index 7c084751d52..761b0537fa1 100644 --- a/addons/website_forum/static/src/js/website_forum.js +++ b/addons/website_forum/static/src/js/website_forum.js @@ -151,7 +151,7 @@ publicWidget.registry.websiteForum = publicWidget.Widget.extend({ wysiwygLoader.load(self, $textarea[0], options).then(wysiwyg => { // float-left class messes up the post layout OPW 769721 $form.find('.note-editable').find('img.float-left').removeClass('float-left'); - $form.on('click', 'button .a-submit', () => { + $form.on('click', 'button, .a-submit', () => { wysiwyg.save(); }); });