Skip to content

Commit

Permalink
CSS: Clean up memory leak in reliableMarginRight
Browse files Browse the repository at this point in the history
Fixes gh-1795
Closes gh-1893

Thanks for the report flexphperia!
  • Loading branch information
dmethvin committed Dec 2, 2014
1 parent f7e60dc commit 7d15b4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/css/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ define([
ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );

docElem.removeChild( container );
div.removeChild( marginDiv );

return ret;
}
Expand Down

0 comments on commit 7d15b4d

Please sign in to comment.