aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases/link.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-10-15 08:21:08 +0900
committerGitHub <noreply@github.com>2018-10-15 08:21:08 +0900
commitb0490c0cdd1fa835ac8f1640265c795bc4845494 (patch)
treef1747c946de605744489c7bfb53c16829c41eda3 /src/background/usecases/link.js
parent8b72aac09af476e19da7e482e43769d47d1969b2 (diff)
parent6c6dc23f97f485fede0b8d91c06c37490f890320 (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.js9
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
});