diff options
Diffstat (limited to 'recipes/twist')
-rw-r--r-- | recipes/twist/package.json | 2 | ||||
-rw-r--r-- | recipes/twist/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/twist/package.json b/recipes/twist/package.json index 45f411b..6d3e32b 100644 --- a/recipes/twist/package.json +++ b/recipes/twist/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "twist", | 2 | "id": "twist", |
3 | "name": "twist", | 3 | "name": "twist", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://twistapp.com/login", | 7 | "serviceURL": "https://twistapp.com/login", |
diff --git a/recipes/twist/webview.js b/recipes/twist/webview.js index c877d29..52b67b5 100644 --- a/recipes/twist/webview.js +++ b/recipes/twist/webview.js | |||
@@ -1,5 +1,5 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function getMessages() { | 2 | const getMessages = () => { |
3 | const count = document.querySelectorAll('.switch_pane>.unread').length; | 3 | const count = document.querySelectorAll('.switch_pane>.unread').length; |
4 | Ferdi.setBadge(count); | 4 | Ferdi.setBadge(count); |
5 | }; | 5 | }; |