summaryrefslogtreecommitdiff
path: root/source/features/upload-button.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2019-03-27 18:30:21 +0800
committerGravatar GitHub <noreply@github.com> 2019-03-27 18:30:21 +0800
commit5d66c95516e6f5f4ea4943acbe96c168be517910 (patch)
treed16a1eed9a5cc9ea683186e7675affd1eceff1e7 /source/features/upload-button.tsx
parentb7e10b5cbacd91241f021ca9f600332289c4df0a (diff)
downloadrefined-github-5d66c95516e6f5f4ea4943acbe96c168be517910.tar.gz
refined-github-5d66c95516e6f5f4ea4943acbe96c168be517910.tar.zst
refined-github-5d66c95516e6f5f4ea4943acbe96c168be517910.zip
Cleanup and small fixes (#1883)
* Make `hide-readme-header` CSS-only * Add more comprehensive hasComments and hasRichTextEditor detects * Merge and improve yours-menu-item and commented-menu-item * Enable more features on global issue/pr lists * Fix `collapsible-content-button` on review comments * Small code refactoring and cleanup
Diffstat (limited to 'source/features/upload-button.tsx')
-rw-r--r--source/features/upload-button.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/features/upload-button.tsx b/source/features/upload-button.tsx
index d7d01ddd..23f690be 100644
--- a/source/features/upload-button.tsx
+++ b/source/features/upload-button.tsx
@@ -38,11 +38,7 @@ function init() {
features.add({
id: 'upload-button',
include: [
- features.isPR,
- features.isIssue,
- features.isNewIssue,
- features.isCompare,
- features.isCommit
+ features.hasRichTextEditor
],
load: features.onAjaxedPages,
init