From df5694834ae65aaf290a58c1663d76046d26a1b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Thu, 28 Apr 2016 12:03:27 -0400 Subject: [PATCH] rm d3 selection not node --- src/snapshot/tosvg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snapshot/tosvg.js b/src/snapshot/tosvg.js index 0312fdd8976..eea9789c545 100644 --- a/src/snapshot/tosvg.js +++ b/src/snapshot/tosvg.js @@ -107,7 +107,7 @@ module.exports = function toSVG(gd, format) { // remove draglayer for Adobe Illustrator compatibility if(fullLayout._draggers) { - fullLayout._draggers.node().remove(); + fullLayout._draggers.remove(); } // in case the svg element had an explicit background color, remove this