diff options
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 | }; |