Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixes #8635 again (fix was lost in rewrite). Also removes unnecessary…

… "manual" garbage collection.
  • Loading branch information...
commit 4344d0841756f8572c56490f12739ac204f40966 1 parent f7f4ef9
Julian Aubourg authored April 13, 2011

Showing 1 changed file with 2 additions and 5 deletions. Show diff stats Hide diff stats

  1. 7  src/support.js
7  src/support.js
@@ -73,7 +73,7 @@ jQuery.support = (function() {
73 73
 		// Make sure that a selected-by-default option has a working selected property.
74 74
 		// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
75 75
 		optSelected: opt.selected,
76  
-		
  76
+
77 77
 		// Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
78 78
 		getSetAttribute: div.className !== "t",
79 79
 
@@ -196,7 +196,7 @@ jQuery.support = (function() {
196 196
 		marginDiv.style.marginRight = "0";
197 197
 		div.appendChild( marginDiv );
198 198
 		support.reliableMarginRight =
199  
-			( parseInt( document.defaultView.getComputedStyle( marginDiv ).marginRight, 10 ) || 0 ) === 0;
  199
+			( parseInt( document.defaultView.getComputedStyle( marginDiv, null ).marginRight, 10 ) || 0 ) === 0;
200 200
 	}
201 201
 
202 202
 	// Remove the body element we added
@@ -224,9 +224,6 @@ jQuery.support = (function() {
224 224
 		}
225 225
 	}
226 226
 
227  
-	// release memory in IE
228  
-	body = div = all = a = tds = undefined;
229  
-
230 227
 	return support;
231 228
 })();
232 229
 

0 notes on commit 4344d08

Please sign in to comment.
Something went wrong with that request. Please try again.