diff options
Diffstat (limited to 'recipes/linkedin/webview.js')
-rw-r--r-- | recipes/linkedin/webview.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/linkedin/webview.js b/recipes/linkedin/webview.js index ae392f5..b4180e4 100644 --- a/recipes/linkedin/webview.js +++ b/recipes/linkedin/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | let count = 0; | 3 | let count = 0; |
4 | 4 | ||
@@ -11,12 +11,12 @@ module.exports = Ferdi => { | |||
11 | '.nav-item--messaging .nav-item__badge-count', | 11 | '.nav-item--messaging .nav-item__badge-count', |
12 | ); | 12 | ); |
13 | if (element) { | 13 | if (element) { |
14 | count = Ferdi.safeParseInt(element.textContent); | 14 | count = Ferdium.safeParseInt(element.textContent); |
15 | } | 15 | } |
16 | } | 16 | } |
17 | 17 | ||
18 | Ferdi.setBadge(count); | 18 | Ferdium.setBadge(count); |
19 | }; | 19 | }; |
20 | 20 | ||
21 | Ferdi.loop(getMessages); | 21 | Ferdium.loop(getMessages); |
22 | }; | 22 | }; |