Skip to content

Commit e703904

Browse files
dmethvinmgol
authored andcommitted
CSS: Clean up memory leak in reliableMarginRight
(cherry-picked from 7d15b4d) Fixes gh-1795 Closes gh-1893 Thanks for the report flexphperia!
1 parent ac1581b commit e703904

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)