geoltime / geoltime.github.io

Geological timescale for Wikipedia
https://geoltime.github.io/
Creative Commons Attribution Share Alike 4.0 International
5 stars 0 forks source link

Numbers over 298 broken #7

Open daniel-barrows opened 1 month ago

daniel-barrows commented 1 month ago

I'm getting empty pages for any numbers over 298. Functional page: https://geoltime.github.io/?Ma=298 Empty page: https://geoltime.github.io/?Ma=299

I don't see JavaScript errors in the browser console.

ms609 commented 1 month ago

Thanks for the report! The stages of the Carboniferous (e.g. "Upper Mississippian") are missing from periods.js, which caused the failure. For now, I've disabled listing these separately (as e.g. "Serpukhovian" is still listed). This should fix the display error.

In the longer term, a better fix would restore this 'stage'-level functionality – but that's more than I have time for right now. (Contributions welcome!)