Skip to content

Commit

Permalink
fixes #762
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Jun 22, 2016
1 parent fab4f09 commit 1b8f432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class Selection {
this.cursor.restore();
}
if (source === Emitter.sources.SILENT) return;
this.emitter.emit(Emitter.events.SELECTION_CHANGE, clone(this.lastRange), source);
this.emitter.emit(Emitter.events.SELECTION_CHANGE, clone(this.lastRange), oldRange, source);
}
}
}
Expand Down

0 comments on commit 1b8f432

Please sign in to comment.