Fix revision loading for timeslider having revision count multiple of 100 (#6652)

This commit is contained in:
Stefan Müller 2024-09-10 20:01:32 +00:00 committed by GitHub
parent 113884d071
commit 645e289d2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -299,7 +299,7 @@ const loadBroadcastJS = (socket, sendSocketMsg, fireWhenAllScriptsAreLoaded, Bro
// Loading changeset history for new revision
loadChangesetsForRevision(newRevision, update);
// 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]);