diff options
author | jeresig <jeresig@gmail.com> | 2010-09-16 10:00:56 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-09-16 10:00:56 -0400 |
commit | 37b607d2815b893d13de4ac3461090d0dd46535e (patch) | |
tree | 47b4f5dd980cd0ae20eb7dc6820672f45437e78d /src/dimensions.js | |
parent | 2131e1a7ad6d9df239ec00b301303e10dbd34d49 (diff) | |
download | jquery-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.js | 4 |
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; }; |