Gildas 5 年之前
父節點
當前提交
9ca7540bcc
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/single-file/processors/hooks/content/content-hooks-frames-web.js

+ 1 - 0
lib/single-file/processors/hooks/content/content-hooks-frames-web.js

@@ -296,6 +296,7 @@
 			observers.set(intersectionObserver, { callback, options });
 			return intersectionObserver;
 		};
+		window.IntersectionObserver.prototype = IntersectionObserver.prototype;
 		window.IntersectionObserver.toString = function () { return "function IntersectionObserver() { [native code] }"; };
 	}