summaryrefslogtreecommitdiff
path: root/source/features/patch-diff-links.tsx
diff options
context:
space:
mode:
authorGravatar Flo Edelmann <florian-edelmann@online.de> 2020-06-20 13:15:50 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-20 13:15:50 +0200
commit7fbc1c8692655a1a9fa5e7e9a3965a3884bb7d20 (patch)
treee0d28e0d72d5b5f96fd74e07d4a3b657312f0cc6 /source/features/patch-diff-links.tsx
parent94aba0f1587097c9edd168a8d16446a6d729ced6 (diff)
downloadrefined-github-7fbc1c8692655a1a9fa5e7e9a3965a3884bb7d20.tar.gz
refined-github-7fbc1c8692655a1a9fa5e7e9a3965a3884bb7d20.tar.zst
refined-github-7fbc1c8692655a1a9fa5e7e9a3965a3884bb7d20.zip
Improve PR commit 404 page (#3233)
Diffstat (limited to 'source/features/patch-diff-links.tsx')
-rw-r--r--source/features/patch-diff-links.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/features/patch-diff-links.tsx b/source/features/patch-diff-links.tsx
index 5d8fd776..a0371459 100644
--- a/source/features/patch-diff-links.tsx
+++ b/source/features/patch-diff-links.tsx
@@ -29,5 +29,8 @@ void features.add({
include: [
pageDetect.isCommit
],
+ exclude: [
+ pageDetect.isPRCommit404
+ ],
init
});