diff options
author | 2022-04-17 01:38:50 +0530 | |
---|---|---|
committer | 2022-04-17 01:38:50 +0530 | |
commit | fc58230e6d229acb0573fc10b6fc4fd451c87c9c (patch) | |
tree | f26a9b8abe0625da06c0d5d1216c8faa34be160c /recipes/hostnet/webview.js | |
parent | Changed license filename and the new license-holders (diff) | |
download | ferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.tar.gz ferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.tar.zst ferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.zip |
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/hostnet/webview.js')
-rw-r--r-- | recipes/hostnet/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |