Sfoglia il codice sorgente

don't dispatch "scroll" event

Gildas 5 anni fa
parent
commit
5a7d02eb0a

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

@@ -358,7 +358,6 @@
 	function dispatchResizeEvent() {
 		try {
 			dispatchEvent(new UIEvent("resize"));
-			document.dispatchEvent(new Event("scroll", { bubbles: true }));
 		} catch (error) {
 			// ignored
 		}