diff --git a/addons/website/static/src/js/website.tour.banner.js b/addons/website/static/src/js/website.tour.banner.js index c3b3936b8d0..75838ada953 100644 --- a/addons/website/static/src/js/website.tour.banner.js +++ b/addons/website/static/src/js/website.tour.banner.js @@ -32,11 +32,7 @@ title: "Edit this page", content: "Every page of your website can be modified through the Edit button.", triggers: function () { - function advance () { - self.moveToNextStep(); - editor.off('tour:editor_bar_loaded', self, advance); - } - editor.on('tour:editor_bar_loaded', self, advance); + editor.on('tour:editor_bar_loaded', self, self.moveToNextStep); }, }, {