Skip to content

Commit c0e9e5f

Browse files
committed
Merge branch 'fil/brush-dataless' into fil/brush-across-facets
2 parents df857c5 + 5baaad0 commit c0e9e5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/interactions/brush.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class Brush extends Mark {
2525
this.focus = renderFilter(false);
2626
}
2727
render(index, scales, values, dimensions, context) {
28+
if (typeof document === "undefined") return null;
2829
const {x, y, fx, fy} = scales;
2930
const {inactive, context: ctx, focus} = this;
3031
let target, currentNode, syncing;

0 commit comments

Comments
 (0)