aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xing/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xing/webview.js')
-rw-r--r--recipes/xing/webview.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/recipes/xing/webview.js b/recipes/xing/webview.js
index 97daed2..9effe95 100644
--- a/recipes/xing/webview.js
+++ b/recipes/xing/webview.js
@@ -1,9 +1,6 @@
1module.exports = Ferdi => { 1module.exports = Ferdi => {
2 function getUnreadConversations() { 2 function getUnreadConversations() {
3 let unreadConversations = 0; 3 Ferdi.setBadge(document.querySelector('#unread-conversations').innerHTML);
4 unreadConversations = parseInt(document.querySelector('#unread-conversations').innerHTML, 10);
5
6 Ferdi.setBadge(unreadConversations);
7 } 4 }
8 5
9 Ferdi.loop(getUnreadConversations); 6 Ferdi.loop(getUnreadConversations);