Skip to content
Permalink
Browse files
Null created elements in support to avoid leaks in IE. Tested IE6-8. …
…Leaks are contained to the byte. Fixes #9294.
  • Loading branch information
timmywil committed May 25, 2011
1 parent a5396bd commit 657b197
Showing 1 changed file with 3 additions and 0 deletions.
@@ -245,6 +245,9 @@ jQuery.support = (function() {
}
}

// Null connected elements to avoid leaks in IE
marginDiv = div = input = null;

return support;
})();

0 comments on commit 657b197

Please sign in to comment.