Просмотр исходного кода

fix #408

Former-commit-id: 9ca7540bcc2b72862ad87ee3f1f6ff0cba33db4e
Gildas 5 лет назад
Родитель
Сommit
c1d437ac00
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 });
 			observers.set(intersectionObserver, { callback, options });
 			return intersectionObserver;
 			return intersectionObserver;
 		};
 		};
+		window.IntersectionObserver.prototype = IntersectionObserver.prototype;
 		window.IntersectionObserver.toString = function () { return "function IntersectionObserver() { [native code] }"; };
 		window.IntersectionObserver.toString = function () { return "function IntersectionObserver() { [native code] }"; };
 	}
 	}