aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-04-13 18:35:38 +0200
committerjaubourg <j@ubourg.net>2011-04-13 18:35:38 +0200
commit4344d0841756f8572c56490f12739ac204f40966 (patch)
tree048505ca5c95016078c3cd153f48c4aed0456ec0 /src
parentf7f4ef91cf38b3c00414d3ebdb706fc04a8e17c0 (diff)
downloadjquery-4344d0841756f8572c56490f12739ac204f40966.tar.gz
jquery-4344d0841756f8572c56490f12739ac204f40966.zip
Fixes #8635 again (fix was lost in rewrite). Also removes unnecessary "manual" garbage collection.
Diffstat (limited to 'src')
-rw-r--r--src/support.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/support.js b/src/support.js
index 6b19c0830..1bd35cab2 100644
--- a/src/support.js
+++ b/src/support.js
@@ -73,7 +73,7 @@ jQuery.support = (function() {
// Make sure that a selected-by-default option has a working selected property.
// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
optSelected: opt.selected,
-
+
// Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
getSetAttribute: div.className !== "t",
@@ -196,7 +196,7 @@ jQuery.support = (function() {
marginDiv.style.marginRight = "0";
div.appendChild( marginDiv );
support.reliableMarginRight =
- ( parseInt( document.defaultView.getComputedStyle( marginDiv ).marginRight, 10 ) || 0 ) === 0;
+ ( parseInt( document.defaultView.getComputedStyle( marginDiv, null ).marginRight, 10 ) || 0 ) === 0;
}
// Remove the body element we added
@@ -224,9 +224,6 @@ jQuery.support = (function() {
}
}
- // release memory in IE
- body = div = all = a = tds = undefined;
-
return support;
})();