diff options
Diffstat (limited to 'recipes/linkedin')
-rw-r--r-- | recipes/linkedin/index.js | 2 | ||||
-rw-r--r-- | recipes/linkedin/package.json | 2 | ||||
-rw-r--r-- | recipes/linkedin/webview.js | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/linkedin/index.js b/recipes/linkedin/index.js index 23607bd..dd41f72 100644 --- a/recipes/linkedin/index.js +++ b/recipes/linkedin/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => Ferdi; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/linkedin/package.json b/recipes/linkedin/package.json index 2d3ad0e..df2d857 100644 --- a/recipes/linkedin/package.json +++ b/recipes/linkedin/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "linkedin", | 2 | "id": "linkedin", |
3 | "name": "LinkedIn", | 3 | "name": "LinkedIn", |
4 | "version": "1.2.2", | 4 | "version": "1.3.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.linkedin.com/messaging" | 7 | "serviceURL": "https://www.linkedin.com/messaging" |
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 | }; |