mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Fix revision loading for timeslider having revision count multiple of 100 (#6652)
This commit is contained in:
parent
113884d071
commit
645e289d2d
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ const loadBroadcastJS = (socket, sendSocketMsg, fireWhenAllScriptsAreLoaded, Bro
|
||||||
// Loading changeset history for new revision
|
// Loading changeset history for new revision
|
||||||
loadChangesetsForRevision(newRevision, update);
|
loadChangesetsForRevision(newRevision, update);
|
||||||
// Loading changeset history for old revision (to make diff between old and new revision)
|
// Loading changeset history for old revision (to make diff between old and new revision)
|
||||||
loadChangesetsForRevision(padContents.currentRevision - 1);
|
loadChangesetsForRevision(padContents.currentRevision);
|
||||||
}
|
}
|
||||||
|
|
||||||
const authors = _.map(padContents.getActiveAuthors(), (name) => authorData[name]);
|
const authors = _.map(padContents.getActiveAuthors(), (name) => authorData[name]);
|
||||||
|
|
Loading…
Reference in a new issue