X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fdimensions.js;h=606b105eb9847a91d7c2bbbeb2ff3bd9b0c32eaf;hb=2937d645cbf32e720d71f2f07f01e30fce0f9a88;hp=7371f00fa75fba8beaa75e92ce23a7da2f0f1b1f;hpb=a974b255c30ac23906ba45bf95de99542a70b587;p=jquery.git diff --git a/src/dimensions.js b/src/dimensions.js index 7371f00..606b105 100644 --- a/src/dimensions.js +++ b/src/dimensions.js @@ -16,7 +16,7 @@ jQuery.each([ "Height", "Width" ], function(i, name){ jQuery.css( this[0], type, false, margin ? "margin" : "border" ) : null; }; - + jQuery.fn[ type ] = function( size ) { // Get window width or height return this[0] == window ?