From 70e31b32f14dc5f5dc59cdcf883b2cc5c0544ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Tue, 10 Sep 2024 21:45:02 +0200 Subject: [PATCH] Fix revision loading for timeslider having revision count multiple of 100 --- src/static/js/broadcast.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/broadcast.ts b/src/static/js/broadcast.ts index 85ccdb0ff..2f1339565 100644 --- a/src/static/js/broadcast.ts +++ b/src/static/js/broadcast.ts @@ -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]);