aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--all.json2
-rw-r--r--archives/nextdoor.tar.gzbin11746 -> 11871 bytes
-rw-r--r--uncompressed/nextdoor/README.md6
-rw-r--r--uncompressed/nextdoor/package.json2
-rw-r--r--uncompressed/nextdoor/webview.js6
5 files changed, 12 insertions, 4 deletions
diff --git a/all.json b/all.json
index 70adbbe..309d5f5 100644
--- a/all.json
+++ b/all.json
@@ -554,7 +554,7 @@
554 "featured": false, 554 "featured": false,
555 "id": "nextdoor", 555 "id": "nextdoor",
556 "name": "Nextdoor", 556 "name": "Nextdoor",
557 "version": "1.0.0", 557 "version": "1.0.1",
558 "icons": { 558 "icons": {
559 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextdoor/icon.png", 559 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextdoor/icon.png",
560 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextdoor/icon.svg" 560 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/nextdoor/icon.svg"
diff --git a/archives/nextdoor.tar.gz b/archives/nextdoor.tar.gz
index d0c6607..4fbf953 100644
--- a/archives/nextdoor.tar.gz
+++ b/archives/nextdoor.tar.gz
Binary files differ
diff --git a/uncompressed/nextdoor/README.md b/uncompressed/nextdoor/README.md
index c137e14..f1fec15 100644
--- a/uncompressed/nextdoor/README.md
+++ b/uncompressed/nextdoor/README.md
@@ -1,5 +1,9 @@
1# Nextdoor for Ferdi 1# Nextdoor for Ferdi
2This is the unofficial Ferdi recipe for Nextdoor 2This is the unofficial Ferdi recipe for Nextdoor
3 3
4### Release notes
51.0.1: Fixes notification not disappearing.
61.0.0: First version
7
4### How to create your own Ferdi recipes: 8### How to create your own Ferdi recipes:
5* [Read the documentation](https://github.com/getferdi/recipes/blob/master/docs/integration.md) 9* [Read the documentation](https://github.com/getferdi/recipes/blob/master/docs/integration.md) \ No newline at end of file
diff --git a/uncompressed/nextdoor/package.json b/uncompressed/nextdoor/package.json
index e7789c6..93dabb8 100644
--- a/uncompressed/nextdoor/package.json
+++ b/uncompressed/nextdoor/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "nextdoor", 2 "id": "nextdoor",
3 "name": "Nextdoor", 3 "name": "Nextdoor",
4 "version": "1.0.0", 4 "version": "1.0.1",
5 "description": "Nextdoor", 5 "description": "Nextdoor",
6 "main": "index.js", 6 "main": "index.js",
7 "author": "Jake Lee <ferdi@jakelee.co.uk>", 7 "author": "Jake Lee <ferdi@jakelee.co.uk>",
diff --git a/uncompressed/nextdoor/webview.js b/uncompressed/nextdoor/webview.js
index c17e99d..e20c6b5 100644
--- a/uncompressed/nextdoor/webview.js
+++ b/uncompressed/nextdoor/webview.js
@@ -2,7 +2,11 @@
2 2
3module.exports = Franz => { 3module.exports = Franz => {
4 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
5 const unread = document.getElementsByClassName('notification-badge')[0].innerText; 5 var unread = 0
6 const notificationBadge = document.getElementsByClassName('notification-badge')[0]
7 if (notificationBadge != undefined) {
8 unread = notificationBadge.innerText;
9 }
6 Franz.setBadge(parseInt(unread, 10)); 10 Franz.setBadge(parseInt(unread, 10));
7 }; 11 };
8 12