Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -245,6 +245,9 @@ jQuery.support = (function() { | ||
} | ||
} | ||
|
||
// Null connected elements to avoid leaks in IE | ||
marginDiv = div = input = null; | ||
|
||
return support; | ||
})(); | ||
|
||