From 934f94ee904a3e5e4e8aa80231c2caf4b2fd33f9 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Fri, 17 Dec 2021 11:34:51 +0100 Subject: [PATCH] chg: [event:timeline] Fit timeline after initial load --- app/webroot/js/event-timeline.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/webroot/js/event-timeline.js b/app/webroot/js/event-timeline.js index 1ccad454b..71d2fdfdc 100644 --- a/app/webroot/js/event-timeline.js +++ b/app/webroot/js/event-timeline.js @@ -510,6 +510,7 @@ function reload_timeline() { eventTimeline.setGroups(null); } items_timeline.add(data.items); + eventTimeline.fit() }, error: function( jqXhr, textStatus, errorThrown ){ console.log( errorThrown );