File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 539
539
top = rect . bottom - ( rect . bottom - rect . top ) ,
540
540
bottom = rect . bottom - winHeight ;
541
541
542
- // Scroll up
542
+ //Scroll up
543
543
if ( top < 0 || targetElement . element . clientHeight > winHeight ) {
544
544
window . scrollBy ( 0 , top - 30 ) ; // 30px padding from edge to look nice
545
545
546
- // Scroll down
546
+ // Scroll down
547
547
} else {
548
548
window . scrollBy ( 0 , bottom + 100 ) ; // 70px + 30px padding from edge to look nice
549
549
}
569
569
}
570
570
571
571
//Prevent exception in IE
572
- if ( propValue && propValue . toLowerCase ) {
572
+ if ( propValue && propValue . toLowerCase ) {
573
573
return propValue . toLowerCase ( ) ;
574
574
} else {
575
575
return propValue ;
643
643
targetElm . appendChild ( overlayLayer ) ;
644
644
645
645
overlayLayer . onclick = function ( ) {
646
- if ( self . _options . exitOnOverlayClick == true ) {
646
+ if ( self . _options . exitOnOverlayClick == true ) {
647
647
_exitIntro . call ( self , targetElm ) ;
648
648
}
649
649
//check if any callback is defined
You can’t perform that action at this time.
0 commit comments