aboutsummaryrefslogtreecommitdiffstats
path: root/src/dimensions.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-09-16 10:00:56 -0400
committerjeresig <jeresig@gmail.com>2010-09-16 10:00:56 -0400
commit37b607d2815b893d13de4ac3461090d0dd46535e (patch)
tree47b4f5dd980cd0ae20eb7dc6820672f45437e78d /src/dimensions.js
parent2131e1a7ad6d9df239ec00b301303e10dbd34d49 (diff)
downloadjquery-37b607d2815b893d13de4ac3461090d0dd46535e.tar.gz
jquery-37b607d2815b893d13de4ac3461090d0dd46535e.zip
Split apart jQuery.css into jQuery.css (computed values) and jQuery.style (currently set values).
Diffstat (limited to 'src/dimensions.js')
-rw-r--r--src/dimensions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dimensions.js b/src/dimensions.js
index d3561e822..698f5f4b0 100644
--- a/src/dimensions.js
+++ b/src/dimensions.js
@@ -8,14 +8,14 @@ jQuery.each([ "Height", "Width" ], function( i, name ) {
// innerHeight and innerWidth
jQuery.fn["inner" + name] = function() {
return this[0] ?
- parseFloat( jQuery.css( this[0], type, undefined, false, "padding" ), 10 ) :
+ parseFloat( jQuery.css( this[0], type, undefined, "padding" ), 10 ) :
null;
};
// outerHeight and outerWidth
jQuery.fn["outer" + name] = function( margin ) {
return this[0] ?
- parseFloat( jQuery.css( this[0], type, undefined, false, margin ? "margin" : "border" ), 10 ) :
+ parseFloat( jQuery.css( this[0], type, undefined, margin ? "margin" : "border" ), 10 ) :
null;
};