diff options
Diffstat (limited to 'recipes/gotify')
-rw-r--r-- | recipes/gotify/package.json | 2 | ||||
-rw-r--r-- | recipes/gotify/webview.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/recipes/gotify/package.json b/recipes/gotify/package.json index c52a308..00ef370 100644 --- a/recipes/gotify/package.json +++ b/recipes/gotify/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "gotify", | 2 | "id": "gotify", |
3 | "name": "Gotify", | 3 | "name": "Gotify", |
4 | "version": "1.0.0", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "hasNotificationSound": true, | 7 | "hasNotificationSound": true, |
diff --git a/recipes/gotify/webview.js b/recipes/gotify/webview.js index 46762ed..420275a 100644 --- a/recipes/gotify/webview.js +++ b/recipes/gotify/webview.js | |||
@@ -1,12 +1,12 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | 1 | function _interopRequireDefault(obj) { |
4 | return obj && obj.__esModule ? obj : { default: obj }; | 2 | return obj && obj.__esModule ? obj : { default: obj }; |
5 | } | 3 | } |
6 | 4 | ||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | 7 | module.exports = Ferdium => { |
8 | const getMessages = () => { | 8 | const getMessages = () => { |
9 | let count = document.querySelectorAll('#messages').length; | 9 | const count = document.querySelectorAll('#messages').length; |
10 | 10 | ||
11 | Ferdium.setBadge(count); | 11 | Ferdium.setBadge(count); |
12 | }; | 12 | }; |