diff options
Diffstat (limited to 'recipes/slack/webview.js')
-rw-r--r-- | recipes/slack/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/slack/webview.js b/recipes/slack/webview.js index f6b5af3..d7b4ea0 100644 --- a/recipes/slack/webview.js +++ b/recipes/slack/webview.js | |||
@@ -10,7 +10,7 @@ const SELECTOR_CHANNELS_UNREAD = | |||
10 | module.exports = Ferdium => { | 10 | module.exports = Ferdium => { |
11 | const getMessages = () => { | 11 | const getMessages = () => { |
12 | const directMessages = document.querySelectorAll( | 12 | const directMessages = document.querySelectorAll( |
13 | `${SELECTOR_CHANNELS_UNREAD} .p-channel_sidebar__badge, .p-channel_sidebar__link--unread:not([data-sidebar-link-id="Punreads"]):not([data-sidebar-link-id="Pdrafts"]):not([data-sidebar-link-id="Pdms"])`, | 13 | `${SELECTOR_CHANNELS_UNREAD} .p-channel_sidebar__badge, .p-channel_sidebar__link--unread:not([data-sidebar-link-id="Punreads"]):not([data-sidebar-link-id="Pdrafts"]):not([data-sidebar-link-id="Pdms"]):not([data-sidebar-link-id="Ppaid-benefits"])`, |
14 | ).length; | 14 | ).length; |
15 | const allMessages = | 15 | const allMessages = |
16 | document.querySelectorAll(SELECTOR_CHANNELS_UNREAD).length - | 16 | document.querySelectorAll(SELECTOR_CHANNELS_UNREAD).length - |