Skip to content

Commit 068c8ef

Browse files
committed
direct client-side render
1 parent 06608eb commit 068c8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/PlotRender.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export default {
127127
...this.options,
128128
className: "plot"
129129
};
130-
if (this.defer) {
130+
if (this.defer || typeof document !== "undefined") {
131131
const mounted = (el) => {
132132
disconnect(); // remove old listeners
133133
function observed() {

0 commit comments

Comments
 (0)