Explorar o código

call preparePageData on before getting iframe content

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
7c5f36cc68
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
 						}