Skip to content

Commit 8b03565

Browse files
committed
Merge pull request usablica#261 from AlexanderKoehn/master
bugfix: Wrong bullet highlighted
2 parents b0101ce + e7c3cfe commit 8b03565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@
614614
self.goToStep(this.getAttribute('data-stepnumber'));
615615
};
616616

617-
if (i === 0) anchorLink.className = "active";
617+
if (i === (targetElement.step-1)) anchorLink.className = "active";
618618

619619
anchorLink.href = 'javascript:void(0);';
620620
anchorLink.innerHTML = " ";

0 commit comments

Comments
 (0)