aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/operation.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-12-27 19:17:07 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-12-27 19:49:48 +0900
commitc03ab2862bf1fe015a0f7e9d9baf6738d639d425 (patch)
tree20c7ef6949e9c5d03d0ec89aec3d2664fc76747e /src/background/controllers/operation.js
parent1fc44c783aec2f155307b2de484c204cf39cbff1 (diff)
Add close tabs to the right command
Diffstat (limited to 'src/background/controllers/operation.js')
-rw-r--r--src/background/controllers/operation.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/background/controllers/operation.js b/src/background/controllers/operation.js
index aea85fc..646f50e 100644
--- a/src/background/controllers/operation.js
+++ b/src/background/controllers/operation.js
@@ -11,6 +11,8 @@ export default class OperationController {
switch (operation.type) {
case operations.TAB_CLOSE:
return this.operationInteractor.close(false);
+ case operations.TAB_CLOSE_RIGHT:
+ return this.operationInteractor.closeRight();
case operations.TAB_CLOSE_FORCE:
return this.operationInteractor.close(true);
case operations.TAB_REOPEN: