diff options
author | John Resig <jeresig@gmail.com> | 2010-09-05 10:17:18 -0400 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-09-05 10:17:18 -0400 |
commit | 920099b29c1157b637f918cdc293e1c89e9cd4dc (patch) | |
tree | ac54f93e4c59379f003eec7e19b1a51b1e5a3645 /src/dimensions.js | |
parent | 2912f8ab9520e042e8b27865617e586e34a05704 (diff) | |
download | jquery-920099b29c1157b637f918cdc293e1c89e9cd4dc.tar.gz jquery-920099b29c1157b637f918cdc293e1c89e9cd4dc.zip |
First pass at unifying the various CSS methods in jQuery (jQuery.style, jQuery.curCSS, and jQuery.css are now all under jQuery.css).
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 aeaaa78ba..52fd0f86d 100644 --- a/src/dimensions.js +++ b/src/dimensions.js @@ -6,14 +6,14 @@ jQuery.each([ "Height", "Width" ], function( i, name ) { // innerHeight and innerWidth jQuery.fn["inner" + name] = function() { return this[0] ? - jQuery.css( this[0], type, false, "padding" ) : + jQuery.css( this[0], type, undefined, false, "padding" ) : null; }; // outerHeight and outerWidth jQuery.fn["outer" + name] = function( margin ) { return this[0] ? - jQuery.css( this[0], type, false, margin ? "margin" : "border" ) : + jQuery.css( this[0], type, undefined, false, margin ? "margin" : "border" ) : null; }; |