소스 검색

fixed typo

Gildas 7 년 전
부모
커밋
113e4b1648
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/single-file/single-file-core.js

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

@@ -1208,7 +1208,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 											} catch (error) {
 												// ignored
 											}
-											if (token.type == "Url" && DOM.removeQuotes(tokenValue == originalResourceURL) {
+											if (token.type == "Url" && DOM.removeQuotes(tokenValue) == originalResourceURL) {
 												token.value.value = content;
 											}
 										});