Description
On the Genetics of Extinction unit, step 5.6 does not display the embedded graph. Firefox gives an error of:
“Uncaught TypeError: class constructors must be invoked with ‘new’
load file:///Users/scottroberts/Downloads/biodiversity_timeline.html:154
onload file:///Users/scottroberts/Downloads/biodiversity_timeline.html:1”
Steps to Reproduce (if reporting a bug)
Preview “Genetics of Extinction” unit.
Navigate to step 5.6
Expected behavior:
An interactive graph shows up midway on the page.
Actual behavior:
No graph is loaded. Firefox reveals the error:
Uncaught TypeError: class constructors must be invoked with ‘new’
load file:///Users/scottroberts/Downloads/biodiversity_timeline.html:154
onload file:///Users/scottroberts/Downloads/biodiversity_timeline.html:1
Additional Information
I figured out how to fix the graph, but the file manager doesn’t let me upload .html files! How do I upload a replacement file?
Operating System: Mac OS 11.6 or ChromeOS
Browser: Error exists in Safari, Firefox and Chrome