summaryrefslogtreecommitdiff
path: root/source/features/embed-gist-inline.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/embed-gist-inline.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/embed-gist-inline.tsx')
-rw-r--r--source/features/embed-gist-inline.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/features/embed-gist-inline.tsx b/source/features/embed-gist-inline.tsx
index c6846487..4fd76cd8 100644
--- a/source/features/embed-gist-inline.tsx
+++ b/source/features/embed-gist-inline.tsx
@@ -51,8 +51,7 @@ function init() {
features.add({
id: 'embed-gist-inline',
include: [
- features.isPR,
- features.isIssue
+ features.hasComments
],
load: features.onAjaxedPages,
init