Skip to content

Commit 66a8764

Browse files
yakov116fregante
andauthored
Fix some console errors (#2824)
Co-Authored-By: Federico Brigante <github@bfred.it>
1 parent 879e283 commit 66a8764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const _isGlobalSearchResults = [
103103
'https://github.com/search?q=refined-github&ref=opensearch'
104104
];
105105

106-
export const isIssue = (): boolean => /^issues\/\d+/.test(getRepoPath()!);
106+
export const isIssue = (): boolean => /^issues\/\d+/.test(getRepoPath()!) && document.title !== 'GitHub · Where software is built'; // The title check excludes deleted issues
107107
export const _isIssue = [
108108
'https://github.com/sindresorhus/refined-github/issues/146'
109109
];

0 commit comments

Comments
 (0)