aboutsummaryrefslogtreecommitdiffstats
path: root/docs/frontend_api.md
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-09-19 07:26:25 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-09-19 09:11:55 +0530
commit7517a409a1a502c747eb4598492a88cec4e8d58c (patch)
tree7b6b603b0831845ac07fe6ab8e4c52bf19c8e850 /docs/frontend_api.md
parentMerge pull request #713 from kris7t/fix-api-access (diff)
downloadferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.gz
ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.zst
ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.zip
fix: fix js error; styling
Diffstat (limited to 'docs/frontend_api.md')
-rw-r--r--docs/frontend_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/frontend_api.md b/docs/frontend_api.md
index 59a2467..cceda9c 100644
--- a/docs/frontend_api.md
+++ b/docs/frontend_api.md
@@ -115,7 +115,7 @@ Runs `fn` on every notification created by the service before sending them to th
115```js 115```js
116// messenger integration 116// messenger integration
117module.exports = (Ferdi) => { 117module.exports = (Ferdi) => {
118 const getMessages = function getMessages() { 118 const getMessages = () => {
119 let count = document.querySelectorAll('._5fx8:not(._569x),._1ht3:not(._569x)').length; 119 let count = document.querySelectorAll('._5fx8:not(._569x),._1ht3:not(._569x)').length;
120 const messageRequestsElement = document.querySelector('._5nxf'); 120 const messageRequestsElement = document.querySelector('._5nxf');
121 if (messageRequestsElement) { 121 if (messageRequestsElement) {