diff options
author | 2020-10-25 02:47:42 +0200 | |
---|---|---|
committer | 2020-10-24 19:47:42 -0500 | |
commit | 5b6b9c033e26da85ce9dc164801411da4d50b446 (patch) | |
tree | 842f6ee3196e7657c71db130b8424fe34bc2cfb3 /source/features/enable-file-links-in-compare-view.tsx | |
parent | 05de5a5c328deb988026b629c2098192c615b9d7 (diff) | |
download | refined-github-5b6b9c033e26da85ce9dc164801411da4d50b446.tar.gz refined-github-5b6b9c033e26da85ce9dc164801411da4d50b446.tar.zst refined-github-5b6b9c033e26da85ce9dc164801411da4d50b446.zip |
Meta: Use the Readme as the only source of feature descriptions (#3678)
Co-authored-by: Federico Brigante <me@fregante.com>
Diffstat (limited to 'source/features/enable-file-links-in-compare-view.tsx')
-rw-r--r-- | source/features/enable-file-links-in-compare-view.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/features/enable-file-links-in-compare-view.tsx b/source/features/enable-file-links-in-compare-view.tsx index e0a778dd..b6175d23 100644 --- a/source/features/enable-file-links-in-compare-view.tsx +++ b/source/features/enable-file-links-in-compare-view.tsx @@ -55,11 +55,7 @@ function init(): void { delegate(document, '.file-header:not([data-file-deleted="true"]) .js-file-header-dropdown:not(.rgh-actionable-link)', 'toggle', handleMenuOpening, true); } -void features.add({ - id: __filebasename, - description: 'Points the "View file" on compare view pages to the branch instead of the commit, so the Edit/Delete buttons will be enabled on the "View file" page, if needed.', - screenshot: 'https://user-images.githubusercontent.com/1402241/69044026-c5b17d80-0a26-11ea-86ae-c95f89d3669a.png' -}, { +void features.add(__filebasename, { include: [ pageDetect.isPRFiles, pageDetect.isPRCommit |