diff --git a/src/core/steps.js b/src/core/steps.js index 7a4e7aea2..e28dafe09 100644 --- a/src/core/steps.js +++ b/src/core/steps.js @@ -69,7 +69,7 @@ export async function nextStep() { return false; } - if (this._introItems.length <= this._currentStep) { + if (!nextStep) { //end of the intro //check if any callback is defined if (typeof this._introCompleteCallback === "function") {