diff --git a/recipes/github/package.json b/recipes/github/package.json index 6d843a03b..aff7a5e6d 100644 --- a/recipes/github/package.json +++ b/recipes/github/package.json @@ -1,7 +1,7 @@ { "id": "github", "name": "GitHub", - "version": "2.6.4", + "version": "2.6.5", "license": "MIT", "config": { "serviceURL": "https://github.com/notifications", diff --git a/recipes/github/webview.js b/recipes/github/webview.js index 269dd9039..c070fc0e0 100644 --- a/recipes/github/webview.js +++ b/recipes/github/webview.js @@ -11,7 +11,7 @@ module.exports = Ferdium => { ?.textContent?.match(/\d+/); Ferdium.setBadge( Ferdium.safeParseInt( - document.querySelector('.filter-list.js-notification-inboxes .count') + document.querySelector('li[data-item-id="inbox"] .Counter') ?.textContent, ) + Ferdium.safeParseInt(newCountMatch ? newCountMatch[0] : 0), document.querySelectorAll(