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 @@ -455,12 +455,12 @@ $.ui.position = {
455455 newOverBottom ;
456456 if ( overTop < 0 ) {
457457 newOverBottom = position . top + myOffset + atOffset + offset + data . collisionHeight - outerHeight - withinOffset ;
458- if ( ( position . top + myOffset + atOffset + offset ) > overTop && ( newOverBottom < 0 || newOverBottom < abs ( overTop ) ) ) {
458+ if ( newOverBottom < 0 || newOverBottom < abs ( overTop ) ) {
459459 position . top += myOffset + atOffset + offset ;
460460 }
461461 } else if ( overBottom > 0 ) {
462462 newOverTop = position . top - data . collisionPosition . marginTop + myOffset + atOffset + offset - offsetTop ;
463- if ( ( position . top + myOffset + atOffset + offset ) > overBottom && ( newOverTop > 0 || abs ( newOverTop ) < overBottom ) ) {
463+ if ( newOverTop > 0 || abs ( newOverTop ) < overBottom ) {
464464 position . top += myOffset + atOffset + offset ;
465465 }
466466 }
You can’t perform that action at this time.
0 commit comments