Browse Source

removed unneeded code

Gildas 7 năm trước cách đây
mục cha
commit
c24845d655
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      lib/single-file/single-file-core.js

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

@@ -1013,7 +1013,6 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 		}
 
 		static async processStylesheet(stylesheetContent, baseURI, options, inline, indexStyle, batchRequest) {
-			stylesheetContent = DomProcessorHelper.resolveStylesheetURLs(stylesheetContent, baseURI);
 			const urlFunctions = DomUtil.getUrlFunctions(stylesheetContent);
 			let indexVariable = 0;
 			await Promise.all(urlFunctions.map(async urlFunction => {