Merge branch 'MDL-85287-m501' of https://github.com/sammarshallou/moodle into MOODLE_501_STABLE

This commit is contained in:
Huong Nguyen
2025-10-21 09:41:54 +07:00
3 changed files with 3 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -3
View File
@@ -808,9 +808,6 @@ const Tour = class {
targetNode.data('flexitour', 'target');
// Add the backdrop.
this.positionBackdrop(stepConfig);
$(document.body).append(currentStepNode);
this.currentStepNode = currentStepNode;
@@ -826,6 +823,7 @@ const Tour = class {
.animate({
scrollTop: this.calculateScrollTop(stepConfig),
}).promise().then(function() {
this.positionBackdrop(stepConfig);
this.positionStep(stepConfig);
this.revealStep(stepConfig);
pendingPromise.resolve();