From 436cc0a2b2549381cee13287a49e473776d4bcc3 Mon Sep 17 00:00:00 2001
From: yakov116 <16872793+yakov116@users.noreply.github.com>
Date: Mon, 10 Aug 2020 12:02:20 -0400
Subject: Enable `fork-source-link-same-view` on editing pages (#3450)

---
 source/features/fork-source-link-same-view.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'source/features/fork-source-link-same-view.tsx')

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(),
-- 
cgit v1.2.3

