diff options
Diffstat (limited to 'recipes/discord')
-rw-r--r-- | recipes/discord/webview.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/discord/webview.js b/recipes/discord/webview.js index 938b3a1..7925df4 100644 --- a/recipes/discord/webview.js +++ b/recipes/discord/webview.js | |||
@@ -15,7 +15,8 @@ module.exports = (Ferdium, settings) => { | |||
15 | directCount += Ferdium.safeParseInt(directCountBadge.textContent); | 15 | directCount += Ferdium.safeParseInt(directCountBadge.textContent); |
16 | } | 16 | } |
17 | 17 | ||
18 | const indirectCountPerServer = document.title.search('• Discord') === -1 ? 0 : 1; | 18 | const indirectCountPerServer = |
19 | document.title.search('• Discord') === -1 ? 0 : 1; | ||
19 | 20 | ||
20 | Ferdium.setBadge(directCount, indirectCountPerServer); | 21 | Ferdium.setBadge(directCount, indirectCountPerServer); |
21 | }; | 22 | }; |