瀏覽代碼

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;
 											}
 										});