Skip to content

Commit d91f4fa

Browse files
authored
Update Github_News_Feed_Filter.user.js
Fix for missing some entries in the 'Repositories' tab
1 parent 57c08bb commit d91f4fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Github_News_Feed_Filter/Github_News_Feed_Filter.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
Array.prototype.map.call(newsContainer.querySelectorAll(':scope > div > .body'), function(alert) {
326326
return alert.parentNode;
327327
}).forEach(function(alert) {
328-
var alertRepo = alert.querySelector(':scope .flex-items-baseline > div > [data-ga-click*="target:repo"]');
328+
var alertRepo = alert.querySelector('[data-ga-click*="target:repo"]');
329329
if (alertRepo) { // Follow doesn't contain a repo link.
330330
var userRepo = alertRepo.textContent;
331331
userRepos.add(userRepo);

0 commit comments

Comments
 (0)