commit
8ed6eabc12
1 changed files with 2 additions and 2 deletions
|
|
@ -88,9 +88,9 @@ var UndoManager = function() {
|
|||
undoSelectionRange =
|
||||
this.$doc.undoChanges(deltas, dontSelect);
|
||||
this.$redoStack.push(deltas);
|
||||
this.dirtyCounter--;
|
||||
}
|
||||
|
||||
this.dirtyCounter--;
|
||||
return undoSelectionRange;
|
||||
};
|
||||
|
||||
|
|
@ -107,9 +107,9 @@ var UndoManager = function() {
|
|||
redoSelectionRange =
|
||||
this.$doc.redoChanges(deltas, dontSelect);
|
||||
this.$undoStack.push(deltas);
|
||||
this.dirtyCounter++;
|
||||
}
|
||||
|
||||
this.dirtyCounter++;
|
||||
return redoSelectionRange;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue