Skip to content

Commit 639422c

Browse files
author
Marina Sheenkova
committed
added option to change nextLabel without restart intro
1 parent 1016696 commit 639422c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

intro.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,6 +1040,7 @@
10401040
prevTooltipButton.className = 'introjs-button introjs-prevbutton';
10411041
nextTooltipButton.className = 'introjs-button introjs-nextbutton';
10421042
skipTooltipButton.innerHTML = this._options.skipLabel;
1043+
nextTooltipButton.innerHTML = this._options.nextLabel;
10431044
}
10441045

10451046
//Set focus on "next" button, so that hitting Enter always moves you onto the next step

0 commit comments

Comments
 (0)