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/mastodon/package.json | 2 +- recipes/mastodon/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/mastodon') diff --git a/recipes/mastodon/package.json b/recipes/mastodon/package.json index 825fbc5..c77d834 100644 --- a/recipes/mastodon/package.json +++ b/recipes/mastodon/package.json @@ -1,7 +1,7 @@ { "name": "Mastodon", "id": "mastodon", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "config": { "hasNotificationSound": true, diff --git a/recipes/mastodon/webview.js b/recipes/mastodon/webview.js index b349220..4b450a1 100644 --- a/recipes/mastodon/webview.js +++ b/recipes/mastodon/webview.js @@ -9,7 +9,7 @@ module.exports = (Ferdi) => { latestNotify = $($('.notification__message span').get(0)).text(); }); - function getMessages() { + const getMessages = () => { let reply = 0; const ln = $($('.notification__message span').get(0)).text(); if (ln != latestNotify) { -- cgit v1.2.3-54-g00ecf