Skip to content

Commit

Permalink
Mark cursor position in case cursor is reopened (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
pottedmeat authored and edhager committed Jun 9, 2017
1 parent c9cbb5f commit 6ea7947
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions db/IndexedDB.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,7 @@ define([
// retry function, that we provide to the queue to use
// if the cursor can't be continued due to interruption
// if called, open the cursor again, and continue from our current position
advance = cachedPosition.preFilterOffset;
all.pop();
advance = (cachedPosition.preFilterOffset + 1);
openCursor();
});
});
Expand Down

0 comments on commit 6ea7947

Please sign in to comment.