| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1391,8 +1391,7 @@ function pathToFileURL(filepath) { | |||
| 1391 | 1391 | } | |
| 1392 | 1392 | ||
| 1393 | 1393 | function isURLInstance(fileURLOrPath) { | |
| 1394 | - return fileURLOrPath != null && fileURLOrPath[searchParams] && | ||
| 1395 | - fileURLOrPath[searchParams][searchParams]; | ||
| 1394 | + return fileURLOrPath != null && fileURLOrPath.href && fileURLOrPath.origin; | ||
| 1396 | 1395 | } | |
| 1397 | 1396 | ||
| 1398 | 1397 | function toPathIfFileURL(fileURLOrPath) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments