diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-10-15 08:21:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 08:21:08 +0900 |
commit | b0490c0cdd1fa835ac8f1640265c795bc4845494 (patch) | |
tree | f1747c946de605744489c7bfb53c16829c41eda3 /src/background/usecases/link.js | |
parent | 8b72aac09af476e19da7e482e43769d47d1969b2 (diff) | |
parent | 6c6dc23f97f485fede0b8d91c06c37490f890320 (diff) |
Merge pull request #487 from ueokande/remove-adjacenttab-prperty
Remove adjacenttab
Diffstat (limited to 'src/background/usecases/link.js')
-rw-r--r-- | src/background/usecases/link.js | 9 |
1 files changed, 1 insertions, 8 deletions
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 }); |