aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-10-19 22:44:46 -0400
committerScott González <scott.gonzalez@gmail.com>2010-10-19 22:45:56 -0400
commit72985fbbecba2153fa56dba058740160fbd0c878 (patch)
treedabc183419345af803eee8059252f45562ee3c54
parentaf582b97a70e955432fdf4123891b75d2f2c68c5 (diff)
downloadjquery-ui-72985fbbecba2153fa56dba058740160fbd0c878.tar.gz
jquery-ui-72985fbbecba2153fa56dba058740160fbd0c878.zip
Core: Don't use $.style since it doesn't exist in jQuery 1.3.2. Fixes #6196 - outerWidth() setter broken with jQuery 1.3.2.
-rw-r--r--ui/jquery.ui.core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js
index 212bfd402..bda679554 100644
--- a/ui/jquery.ui.core.js
+++ b/ui/jquery.ui.core.js
@@ -158,7 +158,7 @@ $.each( [ "Width", "Height" ], function( i, name ) {
}
return this.each(function() {
- $.style( this, type, reduce( this, size ) + "px" );
+ $( this ).css( type, reduce( this, size ) + "px" );
});
};
@@ -168,7 +168,7 @@ $.each( [ "Width", "Height" ], function( i, name ) {
}
return this.each(function() {
- $.style( this, type, reduce( this, size, true, margin ) + "px" );
+ $( this).css( type, reduce( this, size, true, margin ) + "px" );
});
};
});