Skip to content

Commit

Permalink
rm d3 selection not node
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Apr 28, 2016
1 parent 1f406e5 commit df56948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snapshot/tosvg.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df56948

Please sign in to comment.