summaryrefslogtreecommitdiff
path: root/source/features/show-names.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/show-names.tsx')
-rw-r--r--source/features/show-names.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/show-names.tsx b/source/features/show-names.tsx
index 6255ffb5..1067e255 100644
--- a/source/features/show-names.tsx
+++ b/source/features/show-names.tsx
@@ -5,7 +5,8 @@ import features from '../libs/features';
import {getUsername} from '../libs/utils';
async function init(): Promise<false | void> {
- const usernameElements = select.all('.js-discussion .author:not(.rgh-fullname):not([href*="/apps/"])');
+ // `a` selector needed to skip commits by non-GitHub users
+ const usernameElements = select.all('.js-discussion a.author:not(.rgh-fullname):not([href*="/apps/"])');
const usernames = new Set();
const myUsername = getUsername();