Skip to content

Commit 352a884

Browse files
committed
parentElement -> parentNode
1 parent ec44922 commit 352a884

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/traces/parcoords/axisbrush.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function attachDragBehavior(selection) {
319319
d.brush.filterSpecified = true;
320320
s.extent = s.stayingIntervals.concat([s.newExtent]);
321321
s.brushCallback(d);
322-
renderHighlight(this.parentElement);
322+
renderHighlight(this.parentNode);
323323
})
324324
.on('dragend', function(d) {
325325
var e = d3.event;
@@ -343,7 +343,7 @@ function attachDragBehavior(selection) {
343343
brushClear(brush);
344344
}
345345
s.brushCallback(d);
346-
renderHighlight(this.parentElement);
346+
renderHighlight(this.parentNode);
347347
s.brushEndCallback(brush.filterSpecified ? filter.getConsolidated() : []);
348348
return; // no need to fuse intervals or snap to ordinals, so we can bail early
349349
}
@@ -366,7 +366,7 @@ function attachDragBehavior(selection) {
366366
brushClear(brush);
367367
}
368368
s.brushCallback(d);
369-
renderHighlight(this.parentElement, mergeIntervals); // merging intervals post the snap tween
369+
renderHighlight(this.parentNode, mergeIntervals); // merging intervals post the snap tween
370370
} else {
371371
mergeIntervals(); // merging intervals immediately
372372
}

0 commit comments

Comments
 (0)