Skip to content

Commit

Permalink
fix timeslider not working because last changeset is not fetched
Browse files Browse the repository at this point in the history
  • Loading branch information
fzimmermann89 committed Jan 22, 2014
1 parent e4fbf4b commit 7f73bd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node/handler/PadMessageHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -1500,8 +1500,8 @@ function composePadChangesets(padId, startNum, endNum, callback)
var changesetsNeeded=[];

var headNum = pad.getHeadRevisionNumber();
if (endNum > headNum)
endNum = headNum;
if (endNum > headNum+1)
endNum = headNum+1;
if (startNum < 0)
startNum = 0;
//create a array for all changesets, we will
Expand Down

0 comments on commit 7f73bd2

Please sign in to comment.