diff --git a/recipes/github/package.json b/recipes/github/package.json index e077f8d41..9b3b9b733 100644 --- a/recipes/github/package.json +++ b/recipes/github/package.json @@ -1,7 +1,7 @@ { "id": "github", "name": "GitHub", - "version": "2.6.1", + "version": "2.6.2", "license": "MIT", "config": { "serviceURL": "https://github.com/notifications", diff --git a/recipes/github/webview.js b/recipes/github/webview.js index c3f653f0f..78086c2d0 100644 --- a/recipes/github/webview.js +++ b/recipes/github/webview.js @@ -15,7 +15,8 @@ module.exports = Ferdium => { ?.textContent, ) + Ferdium.safeParseInt(newCountMatch ? newCountMatch[0] : 0), document.querySelectorAll( - '#AppHeader-notifications-button.AppHeader-button--hasIndicator', + '#AppHeader-notifications-button.AppHeader-button--hasIndicator, ' + + '[data-target="notification-indicator.badge"]:not([hidden])', ).length, ); };