From 1a2284deb62ea097906f3d7c068c5464c9d260ca Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Fri, 2 Aug 2013 13:15:58 +0200 Subject: [PATCH] Position: Replace double space with single space. (cherry picked from commit a3770884ac997169b810b3f6fda6df54a9cbbeeb) --- ui/jquery.ui.position.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5