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/yahoo-mail/webview.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'recipes/yahoo-mail/webview.js') diff --git a/recipes/yahoo-mail/webview.js b/recipes/yahoo-mail/webview.js index 1027838..fd5add1 100644 --- a/recipes/yahoo-mail/webview.js +++ b/recipes/yahoo-mail/webview.js @@ -1,8 +1,6 @@ -"use strict"; - module.exports = (Franz) => { const getMessages = function getMessages() { - let count = document.querySelector('a[data-test-folder-name="Inbox"]').getAttribute('data-test-unread-count'); + const count = document.querySelector('a[data-test-folder-name="Inbox"]').getAttribute('data-test-unread-count'); Franz.setBadge(count); }; -- cgit v1.2.3-54-g00ecf