aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/simplenote
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/simplenote')
-rw-r--r--recipes/simplenote/package.json2
-rw-r--r--recipes/simplenote/webview.js3
2 files changed, 2 insertions, 3 deletions
diff --git a/recipes/simplenote/package.json b/recipes/simplenote/package.json
index cb07e51..a4867b9 100644
--- a/recipes/simplenote/package.json
+++ b/recipes/simplenote/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "simplenote", 2 "id": "simplenote",
3 "name": "Simplenote", 3 "name": "Simplenote",
4 "version": "1.1.0", 4 "version": "1.1.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://app.simplenote.com/" 7 "serviceURL": "https://app.simplenote.com/"
diff --git a/recipes/simplenote/webview.js b/recipes/simplenote/webview.js
index f109b0d..1017d26 100644
--- a/recipes/simplenote/webview.js
+++ b/recipes/simplenote/webview.js
@@ -6,9 +6,8 @@ module.exports = Ferdi => {
6 count = document.querySelectorAll('.msg-conversation-card__unread-count').length; 6 count = document.querySelectorAll('.msg-conversation-card__unread-count').length;
7 } else { 7 } else {
8 const element = document.querySelector('.nav-item--messaging .nav-item__badge-count'); 8 const element = document.querySelector('.nav-item--messaging .nav-item__badge-count');
9
10 if (element) { 9 if (element) {
11 count = parseInt(element.innerHTML, 10); 10 count = Ferdi.safeParseInt(element.innerHTML);
12 } 11 }
13 } 12 }
14 13