aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.position.js
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2013-08-02 13:15:58 +0200
committerScott González <scott.gonzalez@gmail.com>2013-08-02 10:02:27 -0400
commita3770884ac997169b810b3f6fda6df54a9cbbeeb (patch)
tree23f7d7ae4f7dcdadf465038376cabcddaae51687 /ui/jquery.ui.position.js
parent369c76d9e62fd3bac4676801d5666e6b40a068a2 (diff)
downloadjquery-ui-a3770884ac997169b810b3f6fda6df54a9cbbeeb.tar.gz
jquery-ui-a3770884ac997169b810b3f6fda6df54a9cbbeeb.zip
Position: Replace double space with single space.
Diffstat (limited to 'ui/jquery.ui.position.js')
-rw-r--r--ui/jquery.ui.position.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js
index d45b24bb1..21c3cef1b 100644
--- a/ui/jquery.ui.position.js
+++ b/ui/jquery.ui.position.js
@@ -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;
}