diff options
Diffstat (limited to 'recipes/upwork')
-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 | }; |