From 645e289d2dc19518ea9b82d840d70a554b4f5099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Tue, 10 Sep 2024 20:01:32 +0000 Subject: [PATCH] Fix revision loading for timeslider having revision count multiple of 100 (#6652) --- 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 0a0677e26..347cf29e2 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]);