aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/gmail/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js
index 9b94d33..f7fba84 100644
--- a/recipes/gmail/webview.js
+++ b/recipes/gmail/webview.js
@@ -25,7 +25,7 @@ module.exports = Ferdi => {
25 if (parentNodeOfParentNode) { 25 if (parentNodeOfParentNode) {
26 const unreadCounts = parentNodeOfParentNode.querySelectorAll('.bsU'); 26 const unreadCounts = parentNodeOfParentNode.querySelectorAll('.bsU');
27 if (unreadCounts.length > 0) { 27 if (unreadCounts.length > 0) {
28 count = Ferdi.safeParseInt(unreadCounts[0].textContent); 28 count = Ferdi.safeParseInt(unreadCounts[0].textContent.replace(/[^\p{N}]/gu, ''));
29 } 29 }
30 } 30 }
31 } 31 }