diff --git a/addons/website_forum/static/src/js/tours/website_forum.js b/addons/website_forum/static/src/js/tours/website_forum.js index 55f57457ae6..1db7a3633c5 100644 --- a/addons/website_forum/static/src/js/tours/website_forum.js +++ b/addons/website_forum/static/src/js/tours/website_forum.js @@ -60,7 +60,7 @@ odoo.define("website_forum.tour_forum", function (require) { trigger: ".modal-header button.close", auto: true, }, { - trigger: ".o_wforum_validate_toggler[data-karma=\"20\"]:first", + trigger: ".o_wforum_validate_toggler[data-karma]:first", content: _t("Click here to accept this answer."), position: "right", }]); diff --git a/addons/website_forum/static/tests/tours/website_forum_question.js b/addons/website_forum/static/tests/tours/website_forum_question.js index be292067db6..33b15ffc758 100644 --- a/addons/website_forum/static/tests/tours/website_forum_question.js +++ b/addons/website_forum/static/tests/tours/website_forum_question.js @@ -56,7 +56,7 @@ odoo.define('website_forum.tour_forum_question', function (require) { }, { content: "Click here to accept this answer.", extra_trigger: '#wrap:has(".o_wforum_validate_toggler")', - trigger: '.o_wforum_validate_toggler[data-karma="20"]:first', + trigger: '.o_wforum_validate_toggler[data-karma]:first', }, { content: "Congratulations! You just created and post your first question and answer.", trigger: '#wrap:has(".o_wforum_answer_correct")',