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