Closed GoogleCodeExporter closed 9 years ago
Found a solution:
var grs = document.getElementById('graphRightSide');
if ( grs.hasChildNodes() )
{
while (grs.childNodes.length > 0)
{
grs.removeChild(grs.firstChild);
}
}
As I found in sources, svgweb.removeChild works only for OBJECT, EMBED and SVG
elements.
Can you confirm, that I not getting a memory leak or smthg by using this code?
Original comment by md.xytop
on 19 May 2010 at 7:58
Please don't ask questions by opening bug reports! Send your question to the
mail list instead.
Original comment by bradneub...@gmail.com
on 19 May 2010 at 5:27
Original issue reported on code.google.com by
md.xytop
on 18 May 2010 at 10:47