Skip to content

Commit 8f31045

Browse files
committed
fix git commit graph link
1 parent cad7d06 commit 8f31045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function initRepoGraphGit() {
1818
const params = new URLSearchParams(window.location.search);
1919
params.set('mode', mode);
2020
window.history.replaceState(null, '', `?${params.toString()}`);
21-
for (const link of document.querySelectorAll('#pagination .pagination a')) {
21+
for (const link of document.querySelectorAll('#git-graph-body .pagination a')) {
2222
const href = link.getAttribute('href');
2323
if (!href) continue;
2424
const url = new URL(href, window.location.href);

0 commit comments

Comments
 (0)