diff options
Diffstat (limited to 'recipes/rainloop/webview.js')
-rw-r--r-- | recipes/rainloop/webview.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 | }); |