From c03ab2862bf1fe015a0f7e9d9baf6738d639d425 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 27 Dec 2018 19:17:07 +0900 Subject: Add close tabs to the right command --- src/background/controllers/operation.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/background/controllers') 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: -- cgit v1.2.3