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