From 5d66c95516e6f5f4ea4943acbe96c168be517910 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Wed, 27 Mar 2019 18:30:21 +0800 Subject: 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 --- source/features/embed-gist-inline.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/features/embed-gist-inline.tsx') 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 -- cgit v1.2.3