diff options
author | 2024-05-10 19:02:33 +0100 | |
---|---|---|
committer | 2024-05-10 19:02:33 +0100 | |
commit | 073b40d4df191f172152338d3dc61bc6892c8bde (patch) | |
tree | 3dd334868c29dce686c4804825bb6d1830ba10e4 /recipes/upwork/webview.js | |
parent | add upwork recipe (#547) (diff) | |
download | ferdium-recipes-073b40d4df191f172152338d3dc61bc6892c8bde.tar.gz ferdium-recipes-073b40d4df191f172152338d3dc61bc6892c8bde.tar.zst ferdium-recipes-073b40d4df191f172152338d3dc61bc6892c8bde.zip |
fix builds
Diffstat (limited to 'recipes/upwork/webview.js')
-rw-r--r-- | recipes/upwork/webview.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/upwork/webview.js b/recipes/upwork/webview.js index 6a2492c..15e4c13 100644 --- a/recipes/upwork/webview.js +++ b/recipes/upwork/webview.js | |||
@@ -6,7 +6,9 @@ const _path = _interopRequireDefault(require('path')); | |||
6 | 6 | ||
7 | module.exports = Ferdium => { | 7 | module.exports = Ferdium => { |
8 | const getMessages = () => { | 8 | const getMessages = () => { |
9 | const directMessages = $('li .notification-row .d-inline-block')?.textContent; | 9 | const directMessages = $( |
10 | 'li .notification-row .d-inline-block', | ||
11 | )?.textContent; | ||
10 | 12 | ||
11 | Ferdium.setBadge(directMessages); | 13 | Ferdium.setBadge(directMessages); |
12 | }; | 14 | }; |