summaryrefslogtreecommitdiff
path: root/source/features/fork-source-link-same-view.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2020-08-10 12:02:20 -0400
committerGravatar GitHub <noreply@github.com> 2020-08-10 17:02:20 +0100
commit436cc0a2b2549381cee13287a49e473776d4bcc3 (patch)
treea35792fb641a197711e5f2d9ed20143a6aadf83f /source/features/fork-source-link-same-view.tsx
parente93ffb711e3739cd53928aac2fb76eda5b456b7e (diff)
downloadrefined-github-436cc0a2b2549381cee13287a49e473776d4bcc3.tar.gz
refined-github-436cc0a2b2549381cee13287a49e473776d4bcc3.tar.zst
refined-github-436cc0a2b2549381cee13287a49e473776d4bcc3.zip
Enable `fork-source-link-same-view` on editing pages (#3450)20.8.10
Diffstat (limited to '')
-rw-r--r--source/features/fork-source-link-same-view.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/fork-source-link-same-view.tsx b/source/features/fork-source-link-same-view.tsx
index 8354efcc..c68b2f8a 100644
--- a/source/features/fork-source-link-same-view.tsx
+++ b/source/features/fork-source-link-same-view.tsx
@@ -27,7 +27,8 @@ void features.add({
}, {
include: [
pageDetect.isSingleFile,
- pageDetect.isRepoTree
+ pageDetect.isRepoTree,
+ pageDetect.isEditingFile
],
exclude: [
() => !pageDetect.isForkedRepo(),