aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tweetdeck
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/tweetdeck')
-rw-r--r--recipes/tweetdeck/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/tweetdeck/webview.js b/recipes/tweetdeck/webview.js
index 9bdc2be..7f99509 100644
--- a/recipes/tweetdeck/webview.js
+++ b/recipes/tweetdeck/webview.js
@@ -8,7 +8,7 @@ module.exports = Ferdi => {
8 const elements = document.querySelectorAll('.msg-unread-count'); 8 const elements = document.querySelectorAll('.msg-unread-count');
9 let count = 0; 9 let count = 0;
10 if (elements[0]) { 10 if (elements[0]) {
11 count = Ferdi.safeParseInt(elements[0].innerHTML); 11 count = Ferdi.safeParseInt(elements[0].textContent);
12 } 12 }
13 13
14 Ferdi.setBadge(count); 14 Ferdi.setBadge(count);