소스 검색

fix: I brokered it

Sv443 1 개월 전
부모
커밋
6c2a48e106
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/parseURL.js

+ 1 - 1
src/parseURL.js

@@ -59,7 +59,7 @@ function parseURL(url)
                     let val = decodeURIComponent(splitEntry[1].toLowerCase());
 
                     if(["true", "false"].includes(val.toLowerCase()))
-                        val = Boolean(val.toLowerCase());
+                        val = val.toLowerCase() === "true";
 
                     qstrObj[decodeURIComponent(splitEntry[0])] = val;
                 }