aboutsummaryrefslogtreecommitdiffstats
path: root/docs/frontend_api.md
diff options
context:
space:
mode:
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) {