Skip to content

Commit

Permalink
Revert "Fix #94073."
Browse files Browse the repository at this point in the history
This reverts commit 8f82b87.
  • Loading branch information
jrieken committed Jun 3, 2020
1 parent a276865 commit 99fa777
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export class NotebookTextModel extends Disposable implements INotebookTextModel
this.cells = [cell];
this._mapping.set(cell.handle, cell);

let dirtyStateListener = Event.any(cell.onDidChangeContent, cell.onDidChangeOutputs)(() => {
let dirtyStateListener = cell.onDidChangeContent(() => {
this._isUntitled = false;
this._onDidChangeContent.fire();
});
Expand Down Expand Up @@ -301,7 +301,7 @@ export class NotebookTextModel extends Disposable implements INotebookTextModel

for (let i = 0; i < cells.length; i++) {
this._mapping.set(cells[i].handle, cells[i]);
let dirtyStateListener = Event.any(cells[i].onDidChangeContent, cells[i].onDidChangeOutputs)(() => {
let dirtyStateListener = cells[i].onDidChangeContent(() => {
this._onDidChangeContent.fire();
});

Expand Down

0 comments on commit 99fa777

Please sign in to comment.