diff --git a/addons/web_tour/static/src/js/tour_service.js b/addons/web_tour/static/src/js/tour_service.js index b619bb42430..a055c987396 100644 --- a/addons/web_tour/static/src/js/tour_service.js +++ b/addons/web_tour/static/src/js/tour_service.js @@ -53,6 +53,10 @@ return session.is_bound.then(function () { return false; } + if (mutation.type === 'characterData') { + return true; + } + if (mutation.type === 'childList') { // If it is a modification to the DOM hierarchy, only // consider the addition/removal of tracked nodes. @@ -130,7 +134,7 @@ return session.is_bound.then(function () { const observer = new MutationObserver(mutations => { clearTimeout(mutationTimer); currentMutations.push(...mutations); - mutationTimer = setTimeout(() => _processMutations(), 500); + mutationTimer = setTimeout(() => _processMutations(), 750); }); // Now that the observer is configured, we have to start it when needed. @@ -144,6 +148,7 @@ return session.is_bound.then(function () { childList: true, subtree: true, attributeOldValue: true, + characterData: true, }); } resolve();