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.
1 parent 30c304e commit 5381ec7Copy full SHA for 5381ec7
intro.js
@@ -1058,8 +1058,10 @@
1058
prevTooltipButton.tabIndex = '-1';
1059
skipTooltipButton.innerHTML = this._options.skipLabel;
1060
} else if (this._introItems.length - 1 == this._currentStep || this._introItems.length == 1) {
1061
- skipTooltipButton.innerHTML = this._options.doneLabel;
1062
- skipTooltipButton.className = 'introjs-button introjs-donebutton';
+ if (skipTooltipButton) {
+ skipTooltipButton.innerHTML = this._options.doneLabel;
1063
+ skipTooltipButton.className = 'introjs-button introjs-donebutton';
1064
+ }
1065
prevTooltipButton.className = 'introjs-button introjs-prevbutton';
1066
1067
if (this._options.hideNext == true) {
0 commit comments