Gildas 7 yıl önce
ebeveyn
işleme
18e78150e0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lib/single-file/single-file-core.js

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

@@ -314,7 +314,7 @@ const SingleFileCore = (() => {
 		}
 
 		removeScripts() {
-			this.doc.querySelectorAll("script:(not[type=\"application/ld+json\"])").forEach(element => element.remove());
+			this.doc.querySelectorAll("script:not([type=\"application/ld+json\"])").forEach(element => element.remove());
 		}
 
 		removeFrames() {