aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/teamleader/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/teamleader/webview.js')
-rw-r--r--recipes/teamleader/webview.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes/teamleader/webview.js b/recipes/teamleader/webview.js
index 3041463..7eff414 100644
--- a/recipes/teamleader/webview.js
+++ b/recipes/teamleader/webview.js
@@ -4,8 +4,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
4 4
5module.exports = (Ferdi) => { 5module.exports = (Ferdi) => {
6 const getMessages = () => { 6 const getMessages = () => {
7 const unreadNotifications = parseInt(document.getElementById('notifications_amount').innerHTML); 7 Ferdi.setBadge(document.getElementById('notifications_amount').innerHTML);
8 Ferdi.setBadge(unreadNotifications);
9 }; 8 };
10 9
11 Ferdi.loop(getMessages); 10 Ferdi.loop(getMessages);