summaryrefslogtreecommitdiff
path: root/source/features/patch-diff-links.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/patch-diff-links.tsx')
-rw-r--r--source/features/patch-diff-links.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/features/patch-diff-links.tsx b/source/features/patch-diff-links.tsx
index 04867c0d..1c434a3c 100644
--- a/source/features/patch-diff-links.tsx
+++ b/source/features/patch-diff-links.tsx
@@ -12,10 +12,10 @@ function init(): void {
}
select('.commit-meta > :last-child')!.append(
- <span className="sha-block patch-diff-links">
- <a href={`${commitUrl}.patch`} className="sha">patch</a>
+ <span className="sha-block">
+ <a data-skip-pjax href={`${commitUrl}.patch`} className="sha">patch</a>
{ ' ' /* Workaround for: JSX eats whitespace between elements */ }
- <a href={`${commitUrl}.diff`} className="sha">diff</a>
+ <a data-skip-pjax href={`${commitUrl}.diff`} className="sha">diff</a>
</span>,
);
}