Skip to content

Commit 7d15b4d

Browse files
committed
CSS: Clean up memory leak in reliableMarginRight
Fixes gh-1795 Closes gh-1893 Thanks for the report flexphperia!
1 parent f7e60dc commit 7d15b4d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/css/support.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ define([
8383
ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );
8484

8585
docElem.removeChild( container );
86+
div.removeChild( marginDiv );
8687

8788
return ret;
8889
}

0 commit comments

Comments
 (0)