summaryrefslogtreecommitdiff
path: root/source/features/open-all-notifications.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-05-14 17:32:41 +0800
committerGravatar GitHub <noreply@github.com> 2023-05-14 17:32:41 +0800
commit1d20bb515a8482a0f9b973bc8506f8a8e2bc9f98 (patch)
tree88bc84cc9d1e5c8afe649475dc17bef9e5f2110f /source/features/open-all-notifications.tsx
parent22e2209298eecf7deb8933655a3c7dc1777faa01 (diff)
downloadrefined-github-1d20bb515a8482a0f9b973bc8506f8a8e2bc9f98.tar.gz
refined-github-1d20bb515a8482a0f9b973bc8506f8a8e2bc9f98.tar.zst
refined-github-1d20bb515a8482a0f9b973bc8506f8a8e2bc9f98.zip
Fix `open-all-notifications` error display (#6623)
Diffstat (limited to 'source/features/open-all-notifications.tsx')
-rw-r--r--source/features/open-all-notifications.tsx6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/features/open-all-notifications.tsx b/source/features/open-all-notifications.tsx
index 8d4cfecf..b6af66b8 100644
--- a/source/features/open-all-notifications.tsx
+++ b/source/features/open-all-notifications.tsx
@@ -8,8 +8,6 @@ import delegate, {DelegateEvent} from 'delegate-it';
import features from '../feature-manager.js';
import openTabs from '../helpers/open-tabs.js';
import {appendBefore} from '../helpers/dom-utils.js';
-import showToast from '../github-helpers/toast.js';
-import pluralize from '../helpers/pluralize.js';
import observe from '../helpers/selector-observer.js';
// Selector works on:
@@ -32,10 +30,6 @@ async function openNotifications(notifications: Element[], markAsDone = false):
}
const openingTabs = openTabs(urls);
- await showToast(openingTabs, {
- message: 'Opening tabs…',
- doneMessage: pluralize(urls.length, '$$ tab') + ' opened',
- });
if (!await openingTabs) {
return;
}