mirror of https://github.com/pyodide/pyodide.git
fix selenium tests
This commit is contained in:
parent
2e1a266adc
commit
4d97a5b59f
|
@ -82,7 +82,7 @@ var languagePluginLoader = new Promise((resolve, reject) => {
|
|||
script.src = url;
|
||||
script.onload = (e) => { onload(); };
|
||||
script.onerror = (e) => { onerror(); };
|
||||
self.document.body.appendChild(script);
|
||||
self.document.head.appendChild(script);
|
||||
} else if (self.importScripts) { // webworker
|
||||
try {
|
||||
self.importScripts(url);
|
||||
|
|
Loading…
Reference in New Issue