summaryrefslogtreecommitdiff
path: root/source/features/batch-open-issues.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2019-07-01 16:24:53 +0800
committerGravatar Federico Brigante <github@bfred.it> 2019-07-02 01:20:14 +0800
commit9ec9d2be21544e89a5eec2e436a3c434398f1e64 (patch)
treeefc60d65d38db2edbb7afc8c55033b9184d9bbab /source/features/batch-open-issues.tsx
parentd94acb68a515a9e1bf5cfe8241837de495996c86 (diff)
downloadrefined-github-9ec9d2be21544e89a5eec2e436a3c434398f1e64.tar.gz
refined-github-9ec9d2be21544e89a5eec2e436a3c434398f1e64.tar.zst
refined-github-9ec9d2be21544e89a5eec2e436a3c434398f1e64.zip
Shorten `openAllInTabs` event implementation
Diffstat (limited to 'source/features/batch-open-issues.tsx')
-rw-r--r--source/features/batch-open-issues.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/features/batch-open-issues.tsx b/source/features/batch-open-issues.tsx
index bad566fa..2d9bb63d 100644
--- a/source/features/batch-open-issues.tsx
+++ b/source/features/batch-open-issues.tsx
@@ -26,8 +26,7 @@ function openIssues(): void {
}
browser.runtime.sendMessage({
- urls: issues.map(getUrlFromItem),
- action: 'openAllInTabs'
+ openUrls: issues.map(getUrlFromItem)
});
}