From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/teamleader/webview.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/teamleader/webview.js') diff --git a/recipes/teamleader/webview.js b/recipes/teamleader/webview.js index 303a938..2de8e1c 100644 --- a/recipes/teamleader/webview.js +++ b/recipes/teamleader/webview.js @@ -1,13 +1,13 @@ const path = require('path'); module.exports = (Franz, options) => { - const getMessages = () => { - const unreadNotifications = parseInt(document.getElementById('notifications_amount').innerHTML); + const getMessages = () => { + const unreadNotifications = parseInt(document.getElementById('notifications_amount').innerHTML); - Franz.setBadge(unreadNotifications); - } + Franz.setBadge(unreadNotifications); + }; - Franz.loop(getMessages); + Franz.loop(getMessages); - Franz.injectCSS(path.join(__dirname, 'css', 'franz.css')); -}; \ No newline at end of file + Franz.injectCSS(path.join(__dirname, 'css', 'franz.css')); +}; -- cgit v1.2.3-70-g09d2