Skip to content

Commit

Permalink
Don't search event that we just removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Nov 6, 2014
1 parent 8e28b43 commit ec84fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/js/kronolith.js
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,7 @@ KronolithCore = {
if (remove) {
remove.purge();
remove.remove();
insertBefore = this.findInsertBefore(events, event, date);
insertBefore = this.findInsertBefore(events.without(remove), event, date);
} else {
this.insertMore(date);
return;
Expand Down

0 comments on commit ec84fde

Please sign in to comment.