diff options
Diffstat (limited to 'recipes/rainloop')
-rw-r--r-- | recipes/rainloop/package.json | 2 | ||||
-rw-r--r-- | recipes/rainloop/webview.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/rainloop/package.json b/recipes/rainloop/package.json index fad246a..04b6674 100644 --- a/recipes/rainloop/package.json +++ b/recipes/rainloop/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "rainloop", | 2 | "id": "rainloop", |
3 | "name": "RainLoop", | 3 | "name": "RainLoop", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "repository": "https://github.com/promarcel/franz-recipe-rainloop", | 5 | "repository": "https://github.com/promarcel/franz-recipe-rainloop", |
6 | "license": "MIT", | 6 | "license": "MIT", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/rainloop/webview.js b/recipes/rainloop/webview.js index e5052b8..346e51f 100644 --- a/recipes/rainloop/webview.js +++ b/recipes/rainloop/webview.js | |||
@@ -9,10 +9,10 @@ module.exports = Ferdi => { | |||
9 | if (typeof countText === 'string' && countText !== '') { | 9 | if (typeof countText === 'string' && countText !== '') { |
10 | if ($(obj).hasClass('system')) { | 10 | if ($(obj).hasClass('system')) { |
11 | if ($(obj).hasClass('i-am-inbox')) { | 11 | if ($(obj).hasClass('i-am-inbox')) { |
12 | inbox += parseInt(countText); | 12 | inbox += Ferdi.safeParseInt(countText); |
13 | } | 13 | } |
14 | } else { | 14 | } else { |
15 | updates += parseInt(countText); | 15 | updates += Ferdi.safeParseInt(countText); |
16 | } | 16 | } |
17 | } | 17 | } |
18 | }); | 18 | }); |