Skip to content

Fixed: entire repository size not shown on nav - #244

Open
takuyahara wants to merge 1 commit into
AminoffZ:mainfrom
takuyahara:main
Open

Fixed: entire repository size not shown on nav#244
takuyahara wants to merge 1 commit into
AminoffZ:mainfrom
takuyahara:main

Conversation

@takuyahara

@takuyahara takuyahara commented Feb 12, 2026

Copy link
Copy Markdown

After

image

Before

image
console.log(document.querySelector('.js-repo-nav > ul')); // null

Diff

export function getNavButtons() {
-  return document.querySelector('.js-repo-nav > ul') as HTMLUListElement | null;
+  return document.querySelector('nav[aria-label="Repository"] > ul') as HTMLUListElement | null;
}

@takuyahara takuyahara changed the title Updated selector Fixed: entire repository size not shown on nav Feb 12, 2026
@envico801

Copy link
Copy Markdown

Works fine 👍, i will use this until the maintainer merges it

@thedavidweng

Copy link
Copy Markdown

@AminoffZ This is essential, please review the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants