mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 07:55:09 -05:00
CSS: Clean up memory leak in reliableMarginRight
Fixes gh-1795 Closes gh-1893 Thanks for the report flexphperia!
This commit is contained in:
@@ -83,6 +83,7 @@ define([
|
||||
ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );
|
||||
|
||||
docElem.removeChild( container );
|
||||
div.removeChild( marginDiv );
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user