diff options
author | 2019-11-14 14:28:34 +0800 | |
---|---|---|
committer | 2019-11-14 13:28:34 +0700 | |
commit | 78ee1e2f074facc02e2dbf886a40585a0c94c60f (patch) | |
tree | b6455aa3a15671e1b9f2a5928c4b50ebd7282dc0 /source/libs/utils.ts | |
parent | e83d7a6df63c7e128d2f8225888b0c171a033909 (diff) | |
download | refined-github-78ee1e2f074facc02e2dbf886a40585a0c94c60f.tar.gz refined-github-78ee1e2f074facc02e2dbf886a40585a0c94c60f.tar.zst refined-github-78ee1e2f074facc02e2dbf886a40585a0c94c60f.zip |
Cleanup `html-preview-link` feature page detection (#2540)
Diffstat (limited to 'source/libs/utils.ts')
-rw-r--r-- | source/libs/utils.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/libs/utils.ts b/source/libs/utils.ts index 01f12142..b25a5b41 100644 --- a/source/libs/utils.ts +++ b/source/libs/utils.ts @@ -138,5 +138,3 @@ export function reportBug(featureName: string, bugName: string): void { console.log('Find existing issues:\n' + String(issuesUrl)); console.log('Open new issue:\n' + String(newIssueUrl)); } - -export const isSingleHTMLFile = (): boolean => /\.html?$/.test(location.pathname); |