Skip to content

Commit

Permalink
Carboniferous
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Aug 13, 2024
1 parent a290854 commit b60c50f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,18 @@ if (ma != null) {
let fromPeriod = findTime(periods, maFrom);
let fromSubP = findTime(subperiods, maFrom);
let fromEpoch = findTime(epochs, maFrom);
let fromStage = (fromPeriod != null && fromPeriod.name == "Carboniferous") ?
findTime(stages, maFrom) : null;
// Commented out e.g. Upper Mississipian as `stages` no longer defined in
// periods.js; a fix, including to Update.php, would be welcome if motivated!
let fromStage = /*(fromPeriod != null && fromPeriod.name == "Carboniferous") ?
findTime(stages, maFrom) :*/ null;

let toEon = findTime(eons, maTo);
let toEra = findTime(eras, maTo);
let toPeriod = findTime(periods, maTo);
let toSubP = findTime(subperiods, maTo);
let toEpoch = findTime(epochs, maTo);
let toStage = (toPeriod != null && toPeriod.name == "Carboniferous") ?
findTime(stages, maTo) : null;
let toStage = /*(toPeriod != null && toPeriod.name == "Carboniferous") ?
findTime(stages, maTo) :*/ null;

fsWhen.innerHTML = "<legend>When</legend>"
+ (fromEon == null ? "Before formation of Earth" : (wikilink(fromEon.name) + " eon"))
Expand Down

0 comments on commit b60c50f

Please sign in to comment.