fix selenium tests

This commit is contained in:
Jason Stafford 2019-02-04 09:59:52 -08:00
parent 2e1a266adc
commit 4d97a5b59f
1 changed files with 1 additions and 1 deletions

View File

@ -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);