Position: Replace double space with single space.

This commit is contained in:
Siebrand Mazeland 2013-08-02 13:15:58 +02:00 committed by Scott González
parent 369c76d9e6
commit a3770884ac

View File

@ -436,7 +436,7 @@ $.ui.position = {
}
}
else if ( overBottom > 0 ) {
newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;
newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;
if ( ( position.top + myOffset + atOffset + offset) > overBottom && ( newOverTop > 0 || abs( newOverTop ) < overBottom ) ) {
position.top += myOffset + atOffset + offset;
}