[BUGFIX] Internet Explorer canvas remove
This commit is contained in:
parent
ed80c7657e
commit
c9dd968c92
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user