aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/notion/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/notion/webview.js')
-rw-r--r--recipes/notion/webview.js2
1 files changed, 1 insertions, 1 deletions
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 @@
1module.exports = (Ferdi) => { 1module.exports = (Ferdi) => {
2 function getMessages() { 2 const getMessages = () => {
3 let direct = 0; 3 let direct = 0;
4 const badgeDiv = document.querySelector('.notion-sidebar-container > div > div > div > :nth-child(4) > :nth-child(2) > div > :nth-child(3) > div > div'); 4 const badgeDiv = document.querySelector('.notion-sidebar-container > div > div > div > :nth-child(4) > :nth-child(2) > div > :nth-child(3) > div > div');
5 if (badgeDiv) { 5 if (badgeDiv) {