huangxiaojing лет назад: 4
Родитель
Сommit
7f3397de75
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      screenIos/workerFakeDom.js

+ 1 - 1
screenIos/workerFakeDom.js

@@ -6,7 +6,7 @@ fakeElement.toString = function () { return "FakeElement" };
 fakeElement.parentNode = fakeElement.firstChild = fakeElement.lastChild = fakeElement;
 fakeElement.ownerDocument = document;
 
-document.head = document.body = fakeElement;
+// document.head = document.body = fakeElement;
 document.ownerDocument = document.documentElement = document;
 document.getElementById = document.createElement = function () { return fakeElement; };
 document.createDocumentFragment = function () { return this; };