[BUGFIX] Internet Explorer canvas remove

This commit is contained in:
Xaver Maierhofer 2017-12-27 19:52:47 +01:00
parent ed80c7657e
commit c9dd968c92

View File

@ -270,7 +270,7 @@ define(['d3-selection', 'd3-force', 'd3-zoom', 'd3-drag', 'd3-timer', 'd3-ease',
self.destroy = function destroy() { self.destroy = function destroy() {
force.stop(); force.stop();
canvas.remove(); canvas.parentNode.removeChild(canvas);
force = null; force = null;
if (el.parentNode) { if (el.parentNode) {