Procházet zdrojové kódy

removed obsolete parameter

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

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

@@ -500,7 +500,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 				DomProcessorHelper.processAttribute(this.doc.querySelectorAll("video[poster]"), "poster", this.baseURI),
 				DomProcessorHelper.processAttribute(this.doc.querySelectorAll("*[background]"), "background", this.baseURI),
 				DomProcessorHelper.processAttribute(this.doc.querySelectorAll("image"), "xlink:href", this.baseURI),
-				DomProcessorHelper.processXLinks(this.doc.querySelectorAll("use"), "xlink:href", this.baseURI),
+				DomProcessorHelper.processXLinks(this.doc.querySelectorAll("use"), this.baseURI),
 				DomProcessorHelper.processSrcset(this.doc.querySelectorAll("[srcset]"), "srcset", this.baseURI)
 			];
 			if (!this.options.removeAudioSrc) {