mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Rename cell:marking-changed to marked_changed.Cell
This commit is contained in:
parent
96a9605e3a
commit
e5b79d3f4c
@ -299,7 +299,7 @@ define([
|
|||||||
this.element.removeClass('marked');
|
this.element.removeClass('marked');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.events.trigger('cell:marking-changed', {cell:this, value:value});
|
this.events.trigger('marked_changed.Cell', {cell:this, value:value});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ define(function (require) {
|
|||||||
Notebook.prototype.bind_events = function () {
|
Notebook.prototype.bind_events = function () {
|
||||||
var that = this;
|
var that = this;
|
||||||
|
|
||||||
this.events.on('cell:marking-changed', function(){
|
this.events.on('marked_changed.Cell', function(){
|
||||||
that.update_marked_status();
|
that.update_marked_status();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user