From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- docs/integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/integration.md') diff --git a/docs/integration.md b/docs/integration.md index 38a5a32..08164fc 100644 --- a/docs/integration.md +++ b/docs/integration.md @@ -152,7 +152,7 @@ The `webview.js` is the actual script that will be loaded into the webview. Here ```js // orat.io integration module.exports = (Ferdi) => { - function getMessages() { + const getMessages = () => { let direct = 0; let indirect = 0; const FerdiData = document.querySelector("#FerdiMessages").dataset; -- cgit v1.2.3-70-g09d2