From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/zimbra/webview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/zimbra/webview.js') diff --git a/recipes/zimbra/webview.js b/recipes/zimbra/webview.js index e2cf890..d4b8a97 100644 --- a/recipes/zimbra/webview.js +++ b/recipes/zimbra/webview.js @@ -1,5 +1,5 @@ module.exports = Ferdi => { - const getMessages = function getMessages() { + const getMessages = () => { const { title } = document; const regex = /\d+/; Ferdi.setBadge(regex.test(title) ? Number(regex.exec(title)[0]) : 0); -- cgit v1.2.3-70-g09d2