Update loader.js

This commit is contained in:
Ethan O'Brien 2021-09-17 10:34:32 -05:00 committed by GitHub
parent 0c0c1a5623
commit 42a7e129cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ window.readAsBufferrr = function(fileBlob) {
}
window.EJS_loadStateFromURL = async function() {
if (! EJS_loadStateURL) {return}
if (! window.EJS_loadStateURL) {return}
var a = await fetch(EJS_loadStateURL)
var a = await a.blob()
var a = await readAsBufferrr(a)