Skip to content

Commit

Permalink
load timeline events from json file for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua2504 committed Sep 26, 2024
1 parent 1ddd1e8 commit c4f8336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/data/timeline/scripts/timeline/chronik.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Timeline.GregorianDateLabeller.prototype.labelPrecise = function(date) {

// data sources
tl = Timeline.create(document.getElementById("regnumtl"), bandInfos, Timeline.HORIZONTAL);
tl.loadJSON("/api/v1/timeline/events?"+ (new Date().getTime()), function(json, url) {
tl.loadJSON("./scripts/timeline/regnum.json?"+ (new Date().getTime()), function(json, url) {
eventSource.loadJSON(json, url);
document.getElementById("regnum-event-count").innerHTML = eventSource.getCount();
});
Expand Down

0 comments on commit c4f8336

Please sign in to comment.