aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zalo/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/zalo/webview.js')
-rw-r--r--recipes/zalo/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/zalo/webview.js b/recipes/zalo/webview.js
index a79e29b..9ccc93b 100644
--- a/recipes/zalo/webview.js
+++ b/recipes/zalo/webview.js
@@ -1,6 +1,6 @@
1module.exports = Ferdi => { 1module.exports = Ferdi => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const notificationBadge = document.getElementsByClassName('tab-red-dot').length; 3 const notificationBadge = document.querySelectorAll('.tab-red-dot').length;
4 Ferdi.setBadge(notificationBadge); 4 Ferdi.setBadge(notificationBadge);
5 }; 5 };
6 6