Gildas пре 6 година
родитељ
комит
8968bd78bb
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      lib/single-file/single-file-core.js

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

@@ -349,9 +349,6 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 			if (!this.options.saveRawPage && !this.options.removeFrames && this.options.framesData) {
 				this.options.framesData.forEach(frameData => this.maxResources += frameData.maxResources || 0);
 			}
-			if (this.options.shadowRootsData) {
-				this.options.shadowRootsData.forEach(shadowRootData => this.maxResources += shadowRootData.maxResources || 0);
-			}
 			this.stats.set("processed", "resources", this.maxResources);
 		}