Skip to content

Commit

Permalink
Merge branch 'ferdium:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rohansx authored Jan 3, 2024
2 parents 02ab8f9 + 56ef89a commit b70967b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion recipes/github/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "github",
"name": "GitHub",
"version": "2.6.2",
"version": "2.6.3",
"license": "MIT",
"config": {
"serviceURL": "https://github.com/notifications",
Expand Down
6 changes: 3 additions & 3 deletions recipes/github/webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ function _interopRequireDefault(obj) {
const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
const newCountMatch = document
.querySelector('a.h6[href="/notifications?query="]')
?.textContent?.match(/\d+/);
const getMessages = () => {
const newCountMatch = document
.querySelector('a.h6[href^="/notifications?query="]')
?.textContent?.match(/\d+/);
Ferdium.setBadge(
Ferdium.safeParseInt(
document.querySelector('.filter-list.js-notification-inboxes .count')
Expand Down

0 comments on commit b70967b

Please sign in to comment.