summaryrefslogtreecommitdiff
path: root/source/features
diff options
context:
space:
mode:
Diffstat (limited to 'source/features')
-rw-r--r--source/features/filter-comments-by-you.tsx16
1 files changed, 7 insertions, 9 deletions
diff --git a/source/features/filter-comments-by-you.tsx b/source/features/filter-comments-by-you.tsx
index 51d7bb0c..31527203 100644
--- a/source/features/filter-comments-by-you.tsx
+++ b/source/features/filter-comments-by-you.tsx
@@ -6,16 +6,14 @@ import {getUsername, getRepoURL} from '../libs/utils';
const repoUrl = getRepoURL();
function init(): void {
- select('.subnav-search-context li:last-child')!
+ select('.subnav-search-context .SelectMenu-list a:last-child')!
.before(
- <li>
- <a
- href={`/${repoUrl}/issues?q=is%3Aopen+commenter:${getUsername()}`}
- className="select-menu-item"
- role="menuitem">
- Everything commented by you
- </a>
- </li>
+ <a
+ href={`/${repoUrl}/issues?q=is%3Aopen+commenter:${getUsername()}`}
+ className="SelectMenu-item"
+ role="menuitem">
+ Everything commented by you
+ </a>
);
}