mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 23:04:59 -05:00
CSS: Clean up memory leak in reliableMarginRight
Fixes gh-1795
Closes gh-1893
Thanks for the report flexphperia!
(cherry picked from commit 7d15b4d1f1)
Conflicts:
src/css/support.js
This commit is contained in:
@@ -120,6 +120,8 @@ define([
|
||||
|
||||
reliableMarginRightVal =
|
||||
!parseFloat( ( window.getComputedStyle( contents, null ) || {} ).marginRight );
|
||||
|
||||
div.removeChild( contents );
|
||||
}
|
||||
|
||||
// Support: IE8
|
||||
|
||||
Reference in New Issue
Block a user