From 6c6dc23f97f485fede0b8d91c06c37490f890320 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 13 Oct 2018 22:27:58 +0900 Subject: Remove adjacenttab --- src/background/usecases/link.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/background/usecases') diff --git a/src/background/usecases/link.js b/src/background/usecases/link.js index af152fe..b8ed719 100644 --- a/src/background/usecases/link.js +++ b/src/background/usecases/link.js @@ -11,14 +11,7 @@ export default class LinkInteractor { return this.tabPresenter.open(url, tabId); } - async openNewTab(url, openerId, background) { - let settings = await this.settingRepository.get(); - let { adjacenttab } = settings.properties; - if (adjacenttab) { - return this.tabPresenter.createAdjacent(url, { - openerTabId: openerId, active: !background - }); - } + openNewTab(url, openerId, background) { return this.tabPresenter.create(url, { openerTabId: openerId, active: !background }); -- cgit v1.2.3