mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +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() {
|
initialize: function() {
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.model.on('change',this.update,this);
|
this.model.on('sync',this.update,this);
|
||||||
},
|
},
|
||||||
|
|
||||||
add_class: function(selector, class_list){
|
add_class: function(selector, class_list){
|
||||||
|
Loading…
Reference in New Issue
Block a user