diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-06-25 21:44:35 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-06-25 21:44:35 +0900 |
commit | 1623684bceefcaef03bfb9bef410f0422cf7c71f (patch) | |
tree | 068764886548558537a682cd485d315906fec1f2 /src/background | |
parent | 32fb827f02cac179efc56d7c35ecbff7379f8f03 (diff) |
fix bdelete/bdelete! commands
Diffstat (limited to 'src/background')
-rw-r--r-- | src/background/shared/tabs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/background/shared/tabs.js b/src/background/shared/tabs.js index 33a4fac..26e2e44 100644 --- a/src/background/shared/tabs.js +++ b/src/background/shared/tabs.js @@ -22,7 +22,7 @@ const queryByKeyword = async(keyword, excludePinned = false) => { }; const closeTabByKeywords = async(keyword) => { - let tabs = await queryByKeyword(keyword, false); + let tabs = await queryByKeyword(keyword, true); if (tabs.length === 0) { throw new Error('No matching buffer for ' + keyword); } else if (tabs.length > 1) { @@ -32,7 +32,7 @@ const closeTabByKeywords = async(keyword) => { }; const closeTabByKeywordsForce = async(keyword) => { - let tabs = await queryByKeyword(keyword, true); + let tabs = await queryByKeyword(keyword, false); if (tabs.length === 0) { throw new Error('No matching buffer for ' + keyword); } else if (tabs.length > 1) { |