We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isBlank
1 parent 8b05571 commit fb72705Copy full SHA for fb72705
index.ts
@@ -366,7 +366,7 @@ export const isPublicRepo = (): boolean => exists('meta[name="octolytics-dimensi
366
367
export const isArchivedRepo = (): boolean => Boolean(isRepo() && $('main > .flash-warn')?.textContent!.includes('archived'));
368
369
-export const isBlank = (): boolean => exists('main .blankslate');
+export const isBlank = (): boolean => exists('main .blankslate:not([hidden] .blankslate)');
370
371
export const isRepoTaxonomyIssueOrPRList = (url: URL | HTMLAnchorElement | Location = location): boolean => /^labels\/.+|^milestones\/\d+(?!\/edit)/.test(getRepo(url)?.path!);
372
addTests('isRepoTaxonomyIssueOrPRList', [
0 commit comments