File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -448,12 +448,12 @@ $.ui.position = {
448
448
newOverBottom ;
449
449
if ( overTop < 0 ) {
450
450
newOverBottom = position . top + myOffset + atOffset + offset + data . collisionHeight - outerHeight - withinOffset ;
451
- if ( ( position . top + myOffset + atOffset + offset ) > overTop && ( newOverBottom < 0 || newOverBottom < abs ( overTop ) ) ) {
451
+ if ( newOverBottom < 0 || newOverBottom < abs ( overTop ) ) {
452
452
position . top += myOffset + atOffset + offset ;
453
453
}
454
454
} else if ( overBottom > 0 ) {
455
455
newOverTop = position . top - data . collisionPosition . marginTop + myOffset + atOffset + offset - offsetTop ;
456
- if ( ( position . top + myOffset + atOffset + offset ) > overBottom && ( newOverTop > 0 || abs ( newOverTop ) < overBottom ) ) {
456
+ if ( newOverTop > 0 || abs ( newOverTop ) < overBottom ) {
457
457
position . top += myOffset + atOffset + offset ;
458
458
}
459
459
}
You can’t perform that action at this time.
0 commit comments