diff options
Diffstat (limited to 'recipes/zalo/webview.js')
-rw-r--r-- | recipes/zalo/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/zalo/webview.js b/recipes/zalo/webview.js index 9ccc93b..785cb9a 100644 --- a/recipes/zalo/webview.js +++ b/recipes/zalo/webview.js | |||
@@ -1,8 +1,8 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const notificationBadge = document.querySelectorAll('.tab-red-dot').length; | 3 | const notificationBadge = document.querySelectorAll('.tab-red-dot').length; |
4 | Ferdi.setBadge(notificationBadge); | 4 | Ferdium.setBadge(notificationBadge); |
5 | }; | 5 | }; |
6 | 6 | ||
7 | Ferdi.loop(getMessages); | 7 | Ferdium.loop(getMessages); |
8 | }; | 8 | }; |