aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tweetdeck
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-05 17:04:09 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-05 17:04:09 +0200
commitd3841b766f9d37d557646003899f67525c5f755f (patch)
tree1bcab990c94f2b05678b7a83ffebe08298500f0b /recipes/tweetdeck
parentchore: repo maintenance (#732) (diff)
downloadferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.gz
ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.zst
ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.zip
chore: add eslint-plugin-unicorn (#733)
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);