aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-08-05 21:19:16 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-08-05 21:19:16 +0900
commitfddb4914ad3b126cb18395c30eca6be5805460c3 (patch)
tree88ed345092600796defe4ce98a31e9f755772026 /src/background/usecases
parentc0502c0f9a4b9663a7c2d2959b9458da80aaaa34 (diff)
Use adjacent tab
Diffstat (limited to 'src/background/usecases')
-rw-r--r--src/background/usecases/link.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/usecases/link.js b/src/background/usecases/link.js
index 1339fdf..af152fe 100644
--- a/src/background/usecases/link.js
+++ b/src/background/usecases/link.js
@@ -15,7 +15,7 @@ export default class LinkInteractor {
let settings = await this.settingRepository.get();
let { adjacenttab } = settings.properties;
if (adjacenttab) {
- return this.tabPresenter.create(url, {
+ return this.tabPresenter.createAdjacent(url, {
openerTabId: openerId, active: !background
});
}