aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/background/usecases/operation.js5
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);
+ }
}
}