Genetics of Extinction Step 5.6 is broken - graph does not load, and I can't upload .html file to fix it

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

Hi Scott, thanks so much for reporting this and creating a fix!

Can you send me your html file? Then I can upload to your unit and also use it to fix our library version.

Thanks again.

You can get the fixed version at:
http://mrrobertsscience.com/wp-content/uploads/2023/09/biodiversity_timeline.html

And how can i upload the fixed version to my edited copy? I’m running ID 40576 and edited my copy to add constraints.

Great, thanks so much!

I can upload to your unit. For security reasons, HTML file uploads are disabled in the WISE authoring tool except for admins.

Ok, Can you upload it to my unit? It was showing up earlier today, but the file is missing now.

Sure, I just updated your unit. It should be working now. Thanks again!