aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.position.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-01-22 14:47:21 +0100
committerFelix Nagel <info@felixnagel.com>2012-01-22 14:47:21 +0100
commit21d96f12f802f13c4c159ab9b2e0a6df3771be42 (patch)
treec74f69270a62bc8a99e175bd3a94c7bc18433a48 /ui/jquery.ui.position.js
parent725023e30db10cc0a3ec2b8b9fda0ec80a4ab496 (diff)
parent6800e1a2f97a7d8aaf20d065aa2ce517528e5068 (diff)
downloadjquery-ui-21d96f12f802f13c4c159ab9b2e0a6df3771be42.tar.gz
jquery-ui-21d96f12f802f13c4c159ab9b2e0a6df3771be42.zip
Merge branch 'master' of github.com:jquery/jquery-ui into selectmenu
Diffstat (limited to 'ui/jquery.ui.position.js')
-rw-r--r--ui/jquery.ui.position.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js
index 9a520f845..00976bf79 100644
--- a/ui/jquery.ui.position.js
+++ b/ui/jquery.ui.position.js
@@ -37,7 +37,7 @@ $.position = {
div.remove();
- return w1 - w2;
+ return w1 - w2;
},
getScrollInfo: function(within) {
var notWindow = within[0] !== window,
@@ -401,12 +401,12 @@ $.ui.position = {
}
},
flipfit: {
- left: function() {
- $.ui.position.flip.left.apply( this, arguments );
+ left: function() {
+ $.ui.position.flip.left.apply( this, arguments );
$.ui.position.fit.left.apply( this, arguments );
},
- top: function() {
- $.ui.position.flip.top.apply( this, arguments );
+ top: function() {
+ $.ui.position.flip.top.apply( this, arguments );
$.ui.position.fit.top.apply( this, arguments );
}
}
@@ -415,7 +415,7 @@ $.ui.position = {
// fraction support test
(function () {
var testElement, testElementParent, testElementStyle, offsetLeft, i
- body = document.getElementsByTagName( "body" )[ 0 ],
+ body = document.getElementsByTagName( "body" )[ 0 ],
div = document.createElement( "div" );
//Create a "fake body" for testing based on method used in jQuery.support
@@ -429,7 +429,7 @@ $.ui.position = {
background: "none"
};
if ( body ) {
- jQuery.extend( testElementStyle, {
+ $.extend( testElementStyle, {
position: "absolute",
left: "-1000px",
top: "-1000px"