Skip to content

Commit b303f02

Browse files
committed
Make the model collaborative in JupyterLite
1 parent e6590c2 commit b303f02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/jupytergis_core/src/jgisplugin/modelfactory.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ export class JupyterGISModelFactory
1818
/**
1919
* Whether the model is collaborative or not.
2020
*/
21-
readonly collaborative =
22-
document.querySelectorAll('[data-jupyter-lite-root]')[0] === undefined;
21+
readonly collaborative = true;
2322

2423
/**
2524
* The name of the model.

0 commit comments

Comments
 (0)