git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure that AJAX requests are actually aborted in all browsers. Fix #7422.
[jquery.git]
/
src
/
css.js
diff --git
a/src/css.js
b/src/css.js
index
0f14914
..
1fbee3f
100644
(file)
--- a/
src/css.js
+++ b/
src/css.js
@@
-177,7
+177,7
@@
jQuery.each(["height", "width"], function( i, name ) {
}
if ( val != null ) {
- return val;
+ return val === "" ? "auto" : val;
}
}
@@
-252,7
+252,7
@@
if ( document.defaultView && document.defaultView.getComputedStyle ) {
}
}
- return ret === "" ? "auto" : ret;
+ return ret;
};
}