diff options
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) { |