File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ function attachDragBehavior(selection) {
319
319
d . brush . filterSpecified = true ;
320
320
s . extent = s . stayingIntervals . concat ( [ s . newExtent ] ) ;
321
321
s . brushCallback ( d ) ;
322
- renderHighlight ( this . parentElement ) ;
322
+ renderHighlight ( this . parentNode ) ;
323
323
} )
324
324
. on ( 'dragend' , function ( d ) {
325
325
var e = d3 . event ;
@@ -343,7 +343,7 @@ function attachDragBehavior(selection) {
343
343
brushClear ( brush ) ;
344
344
}
345
345
s . brushCallback ( d ) ;
346
- renderHighlight ( this . parentElement ) ;
346
+ renderHighlight ( this . parentNode ) ;
347
347
s . brushEndCallback ( brush . filterSpecified ? filter . getConsolidated ( ) : [ ] ) ;
348
348
return ; // no need to fuse intervals or snap to ordinals, so we can bail early
349
349
}
@@ -366,7 +366,7 @@ function attachDragBehavior(selection) {
366
366
brushClear ( brush ) ;
367
367
}
368
368
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
370
370
} else {
371
371
mergeIntervals ( ) ; // merging intervals immediately
372
372
}
You can’t perform that action at this time.
0 commit comments