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/yammer/webview.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'recipes/yammer/webview.js') diff --git a/recipes/yammer/webview.js b/recipes/yammer/webview.js index 8f80675..8ec7a11 100644 --- a/recipes/yammer/webview.js +++ b/recipes/yammer/webview.js @@ -1,11 +1,9 @@ -"use strict"; - module.exports = Franz => { const getMessages = function getMessages() { let directMessages = 0; let indirectMessages = 0; - const notificationElement = document.querySelector(".yj-notifications-indicator-count"); - const newMessagesElement = document.querySelector(".yj-thread-list--new-messages-notice:not(.is-hidden) .yj-thread-list--new-message-text"); + const notificationElement = document.querySelector('.yj-notifications-indicator-count'); + const newMessagesElement = document.querySelector('.yj-thread-list--new-messages-notice:not(.is-hidden) .yj-thread-list--new-message-text'); if (notificationElement && notificationElement.innerHTML.length) { directMessages = parseInt(notificationElement.innerHTML, 10); @@ -19,4 +17,4 @@ module.exports = Franz => { }; Franz.loop(getMessages); -}; \ No newline at end of file +}; -- cgit v1.2.3-70-g09d2