diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-11 13:55:25 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-11 15:41:07 +0900 |
commit | fcd15f4f09e412cb66f29649572b9d8ae6d50363 (patch) | |
tree | bb602d6dc3cfd15dcfca860751c95309aa69a53d /src/console/actions/console.ts | |
parent | ad1f3c07fbb90c4e69cc2374d74a7373e4da70f2 (diff) |
Find as a controller
Diffstat (limited to 'src/console/actions/console.ts')
-rw-r--r-- | src/console/actions/console.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/actions/console.ts b/src/console/actions/console.ts index b1494b0..d03f52c 100644 --- a/src/console/actions/console.ts +++ b/src/console/actions/console.ts @@ -53,7 +53,7 @@ const enterCommand = async( return hideCommand(); }; -const enterFind = (text: string): actions.ConsoleAction => { +const enterFind = (text?: string): actions.ConsoleAction => { window.top.postMessage(JSON.stringify({ type: messages.CONSOLE_ENTER_FIND, text, |