summaryrefslogtreecommitdiff
path: root/source/features/extend-diff-expander.tsx
diff options
context:
space:
mode:
authorGravatar cheap glitch <cheap.glitch@gmail.com> 2021-01-29 01:16:01 +0100
committerGravatar GitHub <noreply@github.com> 2021-01-28 18:16:01 -0600
commit6b22d8fe5066097e315c6b247582d006d3598347 (patch)
tree8274f71a16c58845fc6e110bc60a76c3d1075aff /source/features/extend-diff-expander.tsx
parent8a603bcea5d7950ba061f1e714aafb4351f590b8 (diff)
downloadrefined-github-6b22d8fe5066097e315c6b247582d006d3598347.tar.gz
refined-github-6b22d8fe5066097e315c6b247582d006d3598347.tar.zst
refined-github-6b22d8fe5066097e315c6b247582d006d3598347.zip
Enable `extend-diff-expander` on "Compare" pages (#3917)
Diffstat (limited to 'source/features/extend-diff-expander.tsx')
-rw-r--r--source/features/extend-diff-expander.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/extend-diff-expander.tsx b/source/features/extend-diff-expander.tsx
index f6006113..57b09cda 100644
--- a/source/features/extend-diff-expander.tsx
+++ b/source/features/extend-diff-expander.tsx
@@ -19,7 +19,8 @@ function init(): void {
void features.add(__filebasename, {
include: [
pageDetect.isPRFiles,
- pageDetect.isCommit
+ pageDetect.isCommit,
+ pageDetect.isCompare
],
init
});