diff options
Diffstat (limited to 'src/background/usecases')
-rw-r--r-- | src/background/usecases/operation.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/background/usecases/operation.js b/src/background/usecases/operation.js index 74f484e..dd24e75 100644 --- a/src/background/usecases/operation.js +++ b/src/background/usecases/operation.js @@ -29,7 +29,10 @@ export default class OperationInteractor { return; } for (let i = index + 1; i < tabs.length; ++i) { - this.tabPresenter.remove(tabs[i].id); + let tab = tabs[i]; + if (!tab.pinned) { + this.tabPresenter.remove(tab.id); + } } } |