Don't double track a reject

This commit is contained in:
James Allen 2017-01-12 10:59:16 +01:00
parent 0264efccae
commit 953371ad2d

View file

@ -159,8 +159,6 @@ define [
rejectChangeId: (change_id) ->
change = @rangesTracker.getChange(change_id)
return if !change?
@rangesTracker.removeChangeId(change_id)
@dont_track_next_update = true
session = @editor.getSession()
if change.op.d?
content = change.op.d