aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/usecases')
-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
});