Skip to content

Commit 998eb60

Browse files
committed
fixed code style
1 parent 57b9617 commit 998eb60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intro.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@
9292

9393
for (var i = 0, elmsLength = allIntroSteps.length; i < elmsLength; i++) {
9494
var currentElement = allIntroSteps[i];
95-
var step=parseInt(currentElement.getAttribute('data-step'), 10);
95+
var step = parseInt(currentElement.getAttribute('data-step'), 10);
9696
introItems.push({
9797
element: currentElement,
9898
intro: currentElement.getAttribute('data-intro'),
9999
//if step==NaN set step to 100
100-
step: step?step:100,
100+
step: step ? step : 100,
101101
tooltipClass: currentElement.getAttribute('data-tooltipClass'),
102102
position: currentElement.getAttribute('data-position') || this._options.tooltipPosition
103103
});

0 commit comments

Comments
 (0)