git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disabled one of the ordering tests that was taking a while to run.
[jquery.git]
/
src
/
support.js
diff --git
a/src/support.js
b/src/support.js
index
6139395
..
b11f847
100644
(file)
--- a/
src/support.js
+++ b/
src/support.js
@@
-88,12
+88,11
@@
// document.body must exist before we can do this
jQuery(function(){
var div = document.createElement("div");
// document.body must exist before we can do this
jQuery(function(){
var div = document.createElement("div");
- div.style.width = "1px";
- div.style.paddingLeft = "1px";
+ div.style.width = div.style.paddingLeft = "1px";
document.body.appendChild( div );
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
document.body.appendChild( div );
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
- document.body.removeChild( div );
+ document.body.removeChild( div ).style.display = 'none';
});
})();
});
})();