File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 437
437
case 'floating' :
438
438
arrowLayer . style . display = 'none' ;
439
439
440
- //we have to adjust the top and left of layer manually for intro items without element{
440
+ //we have to adjust the top and left of layer manually for intro items without element
441
441
tooltipOffset = _getOffset ( tooltipLayer ) ;
442
442
443
443
tooltipLayer . style . left = '50%' ;
452
452
453
453
break ;
454
454
case 'bottom-right-aligned' :
455
- arrowLayer . className = 'introjs-arrow top-right' ;
456
- tooltipLayer . style . right = '0px' ;
455
+ arrowLayer . className = 'introjs-arrow top-right' ;
456
+ tooltipLayer . style . right = '0px' ;
457
457
tooltipLayer . style . bottom = '-' + ( _getOffset ( tooltipLayer ) . height + 10 ) + 'px' ;
458
458
break ;
459
459
case 'bottom-middle-aligned' :
460
460
targetElementOffset = _getOffset ( targetElement ) ;
461
- tooltipOffset = _getOffset ( tooltipLayer ) ;
461
+ tooltipOffset = _getOffset ( tooltipLayer ) ;
462
462
463
- arrowLayer . className = 'introjs-arrow top-middle' ;
464
- tooltipLayer . style . left = ( targetElementOffset . width / 2 - tooltipOffset . width / 2 ) + 'px' ;
463
+ arrowLayer . className = 'introjs-arrow top-middle' ;
464
+ tooltipLayer . style . left = ( targetElementOffset . width / 2 - tooltipOffset . width / 2 ) + 'px' ;
465
465
tooltipLayer . style . bottom = '-' + ( tooltipOffset . height + 10 ) + 'px' ;
466
466
break ;
467
467
case 'bottom-left-aligned' :
You can’t perform that action at this time.
0 commit comments