Procházet zdrojové kódy

call preparePageData on before getting iframe content

Gildas před 7 roky
rodič
revize
7c5f36cc68
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      lib/single-file/single-file-core.js

+ 1 - 0
lib/single-file/single-file-core.js

@@ -446,6 +446,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 						}
 					} else {
 						if (frameData.processor) {
+							await frameData.processor.preparePageData();
 							const pageData = await frameData.processor.getPageData();
 							DomProcessorHelper.setFrameContent(frameElement, pageData.content);
 						}