mirror of https://github.com/MISP/MISP
chg: [event:timeline] Fit timeline after initial load
parent
f132a6b497
commit
934f94ee90
|
@ -510,6 +510,7 @@ function reload_timeline() {
|
||||||
eventTimeline.setGroups(null);
|
eventTimeline.setGroups(null);
|
||||||
}
|
}
|
||||||
items_timeline.add(data.items);
|
items_timeline.add(data.items);
|
||||||
|
eventTimeline.fit()
|
||||||
},
|
},
|
||||||
error: function( jqXhr, textStatus, errorThrown ){
|
error: function( jqXhr, textStatus, errorThrown ){
|
||||||
console.log( errorThrown );
|
console.log( errorThrown );
|
||||||
|
|
Loading…
Reference in New Issue