diff options
author | 2021-09-12 09:17:19 +0530 | |
---|---|---|
committer | 2021-09-12 03:47:19 +0000 | |
commit | 6d63a93d7865bcc13cdc6bcf7d5c371377b8a355 (patch) | |
tree | c0f5dd3423fd15125c490179b8e34bbda52eb2ff /recipes/mewe/webview.js | |
parent | New recipe: 'flock' (#688) (diff) | |
download | ferdium-recipes-6d63a93d7865bcc13cdc6bcf7d5c371377b8a355.tar.gz ferdium-recipes-6d63a93d7865bcc13cdc6bcf7d5c371377b8a355.tar.zst ferdium-recipes-6d63a93d7865bcc13cdc6bcf7d5c371377b8a355.zip |
New recipe: 'scrumpy' (#689)
Diffstat (limited to 'recipes/mewe/webview.js')
-rw-r--r-- | recipes/mewe/webview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/mewe/webview.js b/recipes/mewe/webview.js index a5b1806..f22803c 100644 --- a/recipes/mewe/webview.js +++ b/recipes/mewe/webview.js | |||
@@ -7,7 +7,7 @@ const calculateTotalDirectMessages = () => | |||
7 | .map(el => Ferdi.safeParseInt(el.querySelector('.m-indicator .number').innerHTML)) | 7 | .map(el => Ferdi.safeParseInt(el.querySelector('.m-indicator .number').innerHTML)) |
8 | .reduce((curr, prev) => curr + prev, 0); | 8 | .reduce((curr, prev) => curr + prev, 0); |
9 | 9 | ||
10 | module.exports = Franz => { | 10 | module.exports = Ferdi => { |
11 | Franz.loop(() => Franz.setBadge(calculateTotalDirectMessages())); | 11 | Ferdi.loop(() => Ferdi.setBadge(calculateTotalDirectMessages())); |
12 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | 12 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); |
13 | }; | 13 | }; |