diff options
author | 2019-07-01 16:24:53 +0800 | |
---|---|---|
committer | 2019-07-02 01:20:14 +0800 | |
commit | 9ec9d2be21544e89a5eec2e436a3c434398f1e64 (patch) | |
tree | efc60d65d38db2edbb7afc8c55033b9184d9bbab /source/features/batch-open-issues.tsx | |
parent | d94acb68a515a9e1bf5cfe8241837de495996c86 (diff) | |
download | refined-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.tsx | 3 |
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) }); } |