aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-02-04 09:44:01 +0900
committerGitHub <noreply@github.com>2019-02-04 09:44:01 +0900
commit5cb6b5f76aa0bbd731aaeff1e1d76a6b59135fa8 (patch)
tree75d556081f42b0e6f374e4993355792f5f8e5591 /src/background/controllers
parent6282204fc64902232b8a8cb181b2eadb0f8097bf (diff)
parent54bbe4ecbdb53dddd97db18581edb0704b4cb76f (diff)
Merge pull request #516 from ueokande/close-tabs-to-the-right
Add close tabs to the right command
Diffstat (limited to 'src/background/controllers')
-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: