mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Replace model 'update' event with the backbone 'sync' event, added in 1.0
This commit is contained in:
parent
dd31af4462
commit
1536c45955
@ -466,7 +466,7 @@ define(["components/underscore/underscore-min",
|
||||
|
||||
initialize: function() {
|
||||
this.visible = true;
|
||||
this.model.on('change',this.update,this);
|
||||
this.model.on('sync',this.update,this);
|
||||
},
|
||||
|
||||
add_class: function(selector, class_list){
|
||||
|
Loading…
Reference in New Issue
Block a user