X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=src%2Fdimensions.js;h=17b4f8f96beaa25293e0df7ffc287119dc076274;hp=f35b0acfb8020df6c5f5f43366c65422efed3c59;hb=69497c3fd7ff560be0e47b4c65076915cca756bc;hpb=fb48ae8e6cca25fd29ef2b1eb23e9efa7b0eef7c diff --git a/src/dimensions.js b/src/dimensions.js index f35b0ac..17b4f8f 100644 --- a/src/dimensions.js +++ b/src/dimensions.js @@ -25,7 +25,7 @@ jQuery.each([ "Height", "Width" ], function( i, name ) { if ( !elem ) { return size == null ? null : this; } - + if ( jQuery.isFunction( size ) ) { return this.each(function( i ) { var self = jQuery( this );