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 --- recipes/notion/package.json | 2 +- recipes/notion/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/notion') diff --git a/recipes/notion/package.json b/recipes/notion/package.json index 1cefed4..4db4a65 100644 --- a/recipes/notion/package.json +++ b/recipes/notion/package.json @@ -1,7 +1,7 @@ { "id": "notion", "name": "Notion", - "version": "1.1.1", + "version": "1.1.2", "license": "MIT", "repository": "https://github.com/TanZng/ferdi-notion", "config": { diff --git a/recipes/notion/webview.js b/recipes/notion/webview.js index aa8eaec..cd8f566 100644 --- a/recipes/notion/webview.js +++ b/recipes/notion/webview.js @@ -1,5 +1,5 @@ module.exports = (Ferdi) => { - function getMessages() { + const getMessages = () => { let direct = 0; const badgeDiv = document.querySelector('.notion-sidebar-container > div > div > div > :nth-child(4) > :nth-child(2) > div > :nth-child(3) > div > div'); if (badgeDiv) { -- cgit v1.2.3-70-g09d2