diff options
author | 2020-07-29 18:12:48 +0200 | |
---|---|---|
committer | 2020-07-29 18:12:48 +0200 | |
commit | 5804b261fd95b5292187b7ac69095212154df1c4 (patch) | |
tree | ada4bf3dc34064bfd5616d6ad94e914ab150d24e /uncompressed/wrike/webview.js | |
parent | Merge pull request #247 from fjl5/master (diff) | |
parent | properly fix Wrike notification counter (diff) | |
download | ferdium-recipes-5804b261fd95b5292187b7ac69095212154df1c4.tar.gz ferdium-recipes-5804b261fd95b5292187b7ac69095212154df1c4.tar.zst ferdium-recipes-5804b261fd95b5292187b7ac69095212154df1c4.zip |
Merge pull request #237 from mvdgun/patch-1
Fix Wrike notification counter
Diffstat (limited to 'uncompressed/wrike/webview.js')
-rw-r--r-- | uncompressed/wrike/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uncompressed/wrike/webview.js b/uncompressed/wrike/webview.js index 113b8ae..7aaeba4 100644 --- a/uncompressed/wrike/webview.js +++ b/uncompressed/wrike/webview.js | |||
@@ -3,7 +3,7 @@ | |||
3 | module.exports = (Franz, options) => { | 3 | module.exports = (Franz, options) => { |
4 | function getMessages() { | 4 | function getMessages() { |
5 | let directCount = 0; | 5 | let directCount = 0; |
6 | let element = document.querySelector('span.notification-indicator'); | 6 | let element = document.querySelector('.ws-navigation-button__indicator.ws-navigation-button-indicator'); |
7 | 7 | ||
8 | if (element && element.innerText) { | 8 | if (element && element.innerText) { |
9 | directCount = parseInt(element.innerText); | 9 | directCount = parseInt(element.innerText); |