aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/habitica
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/habitica')
-rwxr-xr-xrecipes/habitica/package.json2
-rwxr-xr-xrecipes/habitica/webview.js3
2 files changed, 1 insertions, 4 deletions
diff --git a/recipes/habitica/package.json b/recipes/habitica/package.json
index c9c593b..86539a4 100755
--- a/recipes/habitica/package.json
+++ b/recipes/habitica/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "habitica", 2 "id": "habitica",
3 "name": "Habitica", 3 "name": "Habitica",
4 "version": "1.0.3", 4 "version": "1.0.4",
5 "license": "MIT", 5 "license": "MIT",
6 "repository": "https://github.com/lmnet/franz-recipe-notion", 6 "repository": "https://github.com/lmnet/franz-recipe-notion",
7 "config": { 7 "config": {
diff --git a/recipes/habitica/webview.js b/recipes/habitica/webview.js
index 02b2e2d..5eb1c1c 100755
--- a/recipes/habitica/webview.js
+++ b/recipes/habitica/webview.js
@@ -4,9 +4,6 @@ module.exports = (Franz) => {
4 const element = document.querySelector('.message-count'); 4 const element = document.querySelector('.message-count');
5 if (element) { 5 if (element) {
6 count = Number(element.innerText); 6 count = Number(element.innerText);
7 if (Number.isNaN(count)) {
8 count = 0;
9 }
10 } 7 }
11 Franz.setBadge(count); 8 Franz.setBadge(count);
12 }; 9 };