diff --git a/addons/website_forum/static/src/js/website_forum.js b/addons/website_forum/static/src/js/website_forum.js index efae9105f62bd60171495d7b88b3caa55a49c7a7..cdc856fa26e9da74aaad8b53846c5c177d6c3693 100644 --- a/addons/website_forum/static/src/js/website_forum.js +++ b/addons/website_forum/static/src/js/website_forum.js @@ -152,7 +152,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(); }); });