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 53268fb commit 1c4c5aaCopy full SHA for 1c4c5aa
intro.js
@@ -449,8 +449,11 @@
449
450
var tooltipButtonsLayer = tooltipLayer.querySelector('.introjs-tooltipbuttons');
451
tooltipButtonsLayer.appendChild(skipTooltipButton);
452
- tooltipButtonsLayer.appendChild(prevTooltipButton);
453
- tooltipButtonsLayer.appendChild(nextTooltipButton);
+
+ if(this._introItems.length > 1) {
454
+ tooltipButtonsLayer.appendChild(prevTooltipButton);
455
+ tooltipButtonsLayer.appendChild(nextTooltipButton);
456
+ }
457
458
//set proper position
459
_placeTooltip.call(self, targetElement.element, tooltipLayer, arrowLayer);
0 commit comments