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 = {
448448 newOverBottom ;
449449 if ( overTop < 0 ) {
450450 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 ) ) {
452452 position . top += myOffset + atOffset + offset ;
453453 }
454454 } else if ( overBottom > 0 ) {
455455 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 ) {
457457 position . top += myOffset + atOffset + offset ;
458458 }
459459 }
You can’t perform that action at this time.
0 commit comments