aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gotify
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gotify')
-rw-r--r--recipes/gotify/package.json2
-rw-r--r--recipes/gotify/webview.js6
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 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) { 1function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj }; 2 return obj && obj.__esModule ? obj : { default: obj };
5} 3}
6 4
5const _path = _interopRequireDefault(require('path'));
6
7module.exports = Ferdium => { 7module.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 };