diff options
author | 2021-10-05 17:04:09 +0200 | |
---|---|---|
committer | 2021-10-05 17:04:09 +0200 | |
commit | d3841b766f9d37d557646003899f67525c5f755f (patch) | |
tree | 1bcab990c94f2b05678b7a83ffebe08298500f0b /recipes/pivotal-tracker/webview.js | |
parent | chore: repo maintenance (#732) (diff) | |
download | ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.gz ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.zst ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.zip |
chore: add eslint-plugin-unicorn (#733)
Diffstat (limited to 'recipes/pivotal-tracker/webview.js')
-rw-r--r-- | recipes/pivotal-tracker/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/pivotal-tracker/webview.js b/recipes/pivotal-tracker/webview.js index e4899a5..1775292 100644 --- a/recipes/pivotal-tracker/webview.js +++ b/recipes/pivotal-tracker/webview.js | |||
@@ -1,10 +1,10 @@ | |||
1 | module.exports = (Ferdi) => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const bell = document.querySelectorAll('#view65 > span')[0]; | 3 | const bell = document.querySelectorAll('#view65 > span')[0]; |
4 | if (bell) { | 4 | if (bell) { |
5 | Ferdi.setBadge(bell.innerText); | 5 | Ferdi.setBadge(bell.textContent); |
6 | } | 6 | } |
7 | } | 7 | }; |
8 | 8 | ||
9 | Ferdi.loop(getMessages); | 9 | Ferdi.loop(getMessages); |
10 | }; | 10 | }; |