mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Remove debug statement and update_marked_status function
This commit is contained in:
parent
c9385abe24
commit
96a9605e3a
@ -187,7 +187,6 @@ define(function (require) {
|
|||||||
var that = this;
|
var that = this;
|
||||||
|
|
||||||
this.events.on('cell:marking-changed', function(){
|
this.events.on('cell:marking-changed', function(){
|
||||||
console.log('trigger');
|
|
||||||
that.update_marked_status();
|
that.update_marked_status();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -741,12 +740,7 @@ define(function (require) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Notebook.prototype.update_marked_status = function(){
|
Notebook.prototype.update_marked_status = function(){
|
||||||
var indicies = this.get_marked_indices();
|
// doesn't do anything for now.
|
||||||
if ( indicies.length === 0){
|
|
||||||
this.element.removeClass('jp-marking');
|
|
||||||
} else {
|
|
||||||
this.element.addClass('jp-marking');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cell selection.
|
// Cell selection.
|
||||||
|
Loading…
Reference in New Issue
Block a user