|
|
@@ -337,7 +337,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
|
|
|
initialize() {
|
|
|
this.maxResources = this.batchRequest.getMaxResources();
|
|
|
- if (!this.options.saveRawPage && !this.options.removeFrames) {
|
|
|
+ if (!this.options.saveRawPage && !this.options.removeFrames && this.options.framesData) {
|
|
|
this.options.framesData.forEach(frameData => this.maxResources += frameData.maxResources || 0);
|
|
|
}
|
|
|
this.stats.set("processed", "resources", this.maxResources);
|