diff options
Diffstat (limited to 'recipes/pivotal-tracker/webview.js')
-rw-r--r-- | recipes/pivotal-tracker/webview.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/recipes/pivotal-tracker/webview.js b/recipes/pivotal-tracker/webview.js index 1908a36..ef1c8f1 100644 --- a/recipes/pivotal-tracker/webview.js +++ b/recipes/pivotal-tracker/webview.js | |||
@@ -1,11 +1,9 @@ | |||
1 | module.exports = (Franz, options) => { | 1 | module.exports = (Ferdi) => { |
2 | function getMessages() { | 2 | function getMessages() { |
3 | const bell = document.querySelectorAll('#view65 > span')[0]; | 3 | const bell = document.querySelectorAll('#view65 > span')[0]; |
4 | |||
5 | counter = parseInt(bell.innerText); | 4 | counter = parseInt(bell.innerText); |
6 | 5 | Ferdi.setBadge(counter); | |
7 | Franz.setBadge(counter); | ||
8 | } | 6 | } |
9 | 7 | ||
10 | Franz.loop(getMessages); | 8 | Ferdi.loop(getMessages); |
11 | }; | 9 | }; |