Skip to content

Commit 887f1ab

Browse files
committed
GitHub: Treat the URL "/commits" (with no further path compoents) as a commit listing.
1 parent 26c91d5 commit 887f1ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitHubA11yFixes.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function tweak(target) {
2323
// Comment headers.
2424
for (elem of target.querySelectorAll(".timeline-comment-header-text, .discussion-item-header"))
2525
makeHeading(elem, 3);
26-
} else if (res[1] == "commits" && res[2] == "/") {
26+
} else if (res[1] == "commits") {
2727
// Commit listing.
2828
// Commit group headers.
2929
for (elem of target.querySelectorAll(".commit-group-title"))

0 commit comments

Comments
 (0)