huangxiaojing 4 年之前
父節點
當前提交
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; };