diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-06-26 20:54:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 20:54:28 +0900 |
commit | 2f23a87e3954aa890830038b014429b267e76b3f (patch) | |
tree | 298fc8567d3c3aca2331d802caac48838761d9ee /src/background/shared | |
parent | 6246efcaeb45f8edf3a718fc6084dae91d5cae9b (diff) | |
parent | 1623684bceefcaef03bfb9bef410f0422cf7c71f (diff) |
Merge pull request #416 from ueokande/qa-0.15
QA 0.15
Diffstat (limited to 'src/background/shared')
-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) { |