aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases/operation.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-29 00:04:24 +0900
committerGitHub <noreply@github.com>2018-07-29 00:04:24 +0900
commitaf90ef59566210fa8715816d639ae1025f2aa2fb (patch)
tree0c66e88229b11c9b154772a6a93dbb6def0d6dcf /src/background/usecases/operation.js
parented2bd7d75ee1e7aa1db7d03c3f908c740ded1983 (diff)
parent09c5247dbadb468a764eef308634503484d398c5 (diff)
Merge pull request #441 from ueokande/search-on-paste
Search on paste
Diffstat (limited to 'src/background/usecases/operation.js')
-rw-r--r--src/background/usecases/operation.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/background/usecases/operation.js b/src/background/usecases/operation.js
index 86f39ca..7bf93e4 100644
--- a/src/background/usecases/operation.js
+++ b/src/background/usecases/operation.js
@@ -126,7 +126,7 @@ export default class OperationInteractor {
async showCommand() {
let tab = await this.tabPresenter.getCurrent();
- this.consolePresenter.showCommand(tab.id, '');
+ return this.consolePresenter.showCommand(tab.id, '');
}
async showOpenCommand(alter) {
@@ -173,12 +173,12 @@ export default class OperationInteractor {
async findStart() {
let tab = await this.tabPresenter.getCurrent();
- this.consolePresenter.showFind(tab.id);
+ return this.consolePresenter.showFind(tab.id);
}
async hideConsole() {
let tab = await this.tabPresenter.getCurrent();
- this.consolePresenter.hide(tab.id);
+ return this.consolePresenter.hide(tab.id);
}
onTabSelected(tabId) {