We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 042012c + 998eb60 commit 59a78b3Copy full SHA for 59a78b3
intro.js
@@ -92,10 +92,12 @@
92
93
for (var i = 0, elmsLength = allIntroSteps.length; i < elmsLength; i++) {
94
var currentElement = allIntroSteps[i];
95
+ var step = parseInt(currentElement.getAttribute('data-step'), 10);
96
introItems.push({
97
element: currentElement,
98
intro: currentElement.getAttribute('data-intro'),
- step: parseInt(currentElement.getAttribute('data-step'), 10),
99
+ //if step==NaN set step to 100
100
+ step: step ? step : 100,
101
tooltipClass: currentElement.getAttribute('data-tooltipClass'),
102
position: currentElement.getAttribute('data-position') || this._options.tooltipPosition
103
});
0 commit comments