diff options
Diffstat (limited to 'recipes/hostnet')
-rw-r--r-- | recipes/hostnet/package.json | 2 | ||||
-rw-r--r-- | recipes/hostnet/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/hostnet/package.json b/recipes/hostnet/package.json index 3cc7580..eda6832 100644 --- a/recipes/hostnet/package.json +++ b/recipes/hostnet/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "hostnet", | 2 | "id": "hostnet", |
3 | "name": "Hostnet", | 3 | "name": "Hostnet", |
4 | "version": "1.0.0", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://appsuite.hostnet.nl/appsuite/" | 7 | "serviceURL": "https://appsuite.hostnet.nl/appsuite/" |
diff --git a/recipes/hostnet/webview.js b/recipes/hostnet/webview.js index bf383c3..71d3306 100644 --- a/recipes/hostnet/webview.js +++ b/recipes/hostnet/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | Ferdi.setBadge(parseInt(document.getElementsByClassName('badge topbar-launcherbadge')[0].firstChild.data)); | 3 | Ferdi.setBadge(Number.parseInt(document.querySelectorAll('.badge.topbar-launcherbadge')[0].firstChild.data)); |
4 | }; | 4 | }; |
5 | 5 | ||
6 | Ferdi.loop(getMessages); | 6 | Ferdi.loop(getMessages); |