Gildas 5 lat temu
rodzic
commit
9ca7540bcc

+ 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] }"; };
 	}