Skip to content

Commit 973022e

Browse files
committed
GitHub: Don't make an entire pull request review into a heading.
1 parent 9d21ed0 commit 973022e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GitHubA11yFixes.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @author James Teh <jteh@mozilla.com>, Sascha Cowley <sascha@nvaccess.org>
66
// @copyright 2019-2025 Mozilla Corporation, Derek Riemer, Sascha Cowley
77
// @license Mozilla Public License version 2.0
8-
// @version 2025.2
8+
// @version 2025.3
99
// @include https://github.com/*
1010
// ==/UserScript==
1111

@@ -146,7 +146,7 @@ const DYNAMIC_TWEAKS = [
146146
// approving/requesting changes to a PR, merging a PR. Exclude commits and
147147
// commit references because these contain too much detail and there's no
148148
// way to separate the header from the body.
149-
{selector: '.TimelineItem:not(.js-commit) .TimelineItem-body:not(.my-0):not(.discussion-comment):not([id^="ref-commit-"])',
149+
{selector: '.TimelineItem:not(.js-commit, .pt-0) .TimelineItem-body:not(.my-0):not(.discussion-comment):not([id^="ref-commit-"])',
150150
tweak: [makeHeading, 3]},
151151
// Issue listing tables.
152152
{selector: '.js-navigation-container:not(.commits-listing)',

0 commit comments

Comments
 (0)