mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Another widget promise bug fix
This commit is contained in:
parent
73637fb694
commit
51fc7241da
@ -130,7 +130,7 @@ define([
|
||||
})).then(function(view) {
|
||||
that._handle_display_view(view);
|
||||
view.trigger('displayed');
|
||||
resolve(view);
|
||||
return view;
|
||||
}).catch(utils.reject('Could not create or display view', true));
|
||||
} else {
|
||||
return Promise.reject(new Error('Cell does not have a `display_widget_view` method'));
|
||||
|
Loading…
Reference in New Issue
Block a user