Skip to content

Commit af0e424

Browse files
committed
Add default to switch case statement to prevent wrong position in tooltips
1 parent cde7673 commit af0e424

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
@@ -207,6 +207,7 @@
207207
arrowLayer.className = 'introjs-arrow right';
208208
break;
209209
case 'bottom':
210+
default:
210211
tooltipLayer.style.bottom = "-" + (tooltipLayerPosition.height + 10) + "px";
211212
arrowLayer.className = 'introjs-arrow top';
212213
break;

0 commit comments

Comments
 (0)