diff --git a/python/jupyterlab_widgets/src/manager.ts b/python/jupyterlab_widgets/src/manager.ts index 9bd5ed42fb..355f00ab02 100644 --- a/python/jupyterlab_widgets/src/manager.ts +++ b/python/jupyterlab_widgets/src/manager.ts @@ -605,7 +605,7 @@ export class WidgetManager extends Backbone.Model implements IDisposable { manager: WidgetManager ) { if (rendermime === LabWidgetManager.globalRendermime) { - throw new Error('Using global rendermime is not permitted!'); + return; } rendermime.removeMimeType(WIDGET_VIEW_MIMETYPE); rendermime.addFactory(