mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Missing return
Thanks to @jdfreder for catching this in review!
This commit is contained in:
parent
49541066f1
commit
967d83104f
@ -646,7 +646,7 @@ define(["widgets/js/manager",
|
||||
* returns a promise that resolves after this removal is done
|
||||
*/
|
||||
var that = this;
|
||||
Promise.all(this.views).then(function(views) {
|
||||
return Promise.all(this.views).then(function(views) {
|
||||
for (var i = 0; i < that.views.length; i++) {
|
||||
that._remove_view.call(that._handler_context, views[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user