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/stackoverflow/package.json | 2 +- recipes/stackoverflow/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/stackoverflow') diff --git a/recipes/stackoverflow/package.json b/recipes/stackoverflow/package.json index 6b41dd5..e785703 100644 --- a/recipes/stackoverflow/package.json +++ b/recipes/stackoverflow/package.json @@ -1,7 +1,7 @@ { "id": "stackoverflow", "name": "Stackoverflow", - "version": "0.0.1", + "version": "0.0.2", "license": "MIT", "repository": "https://github.com/christianascone/franz-recipe-stackoverflow", "config": { diff --git a/recipes/stackoverflow/webview.js b/recipes/stackoverflow/webview.js index 4d20768..437fb49 100644 --- a/recipes/stackoverflow/webview.js +++ b/recipes/stackoverflow/webview.js @@ -3,7 +3,7 @@ const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = (Ferdi) => { - const getMessages = function getMessages() { + const getMessages = () => { const elements = document.querySelectorAll('.CxUIE, .unread'); let count = 0; for (let i = 0; i < elements.length; i += 1) { -- cgit v1.2.3-70-g09d2