git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean up offset. #4456 thanks pbcomm
[jquery.git]
/
src
/
dimensions.js
diff --git
a/src/dimensions.js
b/src/dimensions.js
index
7371f00
..
606b105
100644
(file)
--- 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.css( this[0], type, false, margin ? "margin" : "border" ) :
null;
};
-
+
jQuery.fn[ type ] = function( size ) {
// Get window width or height
return this[0] == window ?
jQuery.fn[ type ] = function( size ) {
// Get window width or height
return this[0] == window ?