diff options
Diffstat (limited to 'source/features/fork-source-link-same-view.tsx')
-rw-r--r-- | source/features/fork-source-link-same-view.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/features/fork-source-link-same-view.tsx b/source/features/fork-source-link-same-view.tsx index 27697ecd..b74dc074 100644 --- a/source/features/fork-source-link-same-view.tsx +++ b/source/features/fork-source-link-same-view.tsx @@ -22,13 +22,15 @@ async function init(): Promise<void> { } void features.add(__filebasename, { + asLongAs: [ + pageDetect.isForkedRepo, + ], include: [ pageDetect.isSingleFile, pageDetect.isRepoTree, pageDetect.isEditingFile, ], exclude: [ - () => !pageDetect.isForkedRepo(), pageDetect.isRepoRoot, ], deduplicate: false, |