summaryrefslogtreecommitdiff
path: root/source/features/clean-conversation-headers.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/clean-conversation-headers.tsx')
-rw-r--r--source/features/clean-conversation-headers.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/clean-conversation-headers.tsx b/source/features/clean-conversation-headers.tsx
index 2c89ea5b..08189264 100644
--- a/source/features/clean-conversation-headers.tsx
+++ b/source/features/clean-conversation-headers.tsx
@@ -20,8 +20,9 @@ function initIssue(): void {
}
function initPR(): void {
- observe('.gh-header-meta .flex-auto', {
+ observe('.gh-header-meta .flex-auto:not(.rgh-clean-conversation-header)', {
add(byline) {
+ byline.classList.add('rgh-clean-conversation-header');
const isMerged = select.exists('#partial-discussion-header [title="Status: Merged"]');
const isSameAuthor = select('.js-discussion > .TimelineItem:first-child .author')?.textContent === select('.author', byline)!.textContent;
const baseBranch = select('.commit-ref:not(.head-ref)', byline)!;