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; };