diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-18 10:41:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 10:41:08 +0000 |
commit | 1f57547c0ab1dab1aa615e2b543067855719ab6f (patch) | |
tree | f87441ed3a9889a75a698225151e7b10a07ae1b6 /src/content/actions | |
parent | cc634d0e7fc33d60e67df5a0cbbcfbf365120c5a (diff) | |
parent | d1a81a877f0e7364b7d69e214ec74151d76dd25c (diff) |
Merge pull request #308 from ueokande/focus-input
Focus input
Diffstat (limited to 'src/content/actions')
-rw-r--r-- | src/content/actions/operation.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/actions/operation.js b/src/content/actions/operation.js index b4b2e38..5fd0f48 100644 --- a/src/content/actions/operation.js +++ b/src/content/actions/operation.js @@ -2,6 +2,7 @@ import operations from 'shared/operations'; import messages from 'shared/messages'; import * as scrolls from 'content/scrolls'; import * as navigates from 'content/navigates'; +import * as focuses from 'content/focuses'; import * as urls from 'content/urls'; import * as consoleFrames from 'content/console-frames'; import * as addonActions from './addon'; @@ -57,6 +58,8 @@ const exec = (operation, repeat, settings) => { return navigates.parent(window); case operations.NAVIGATE_ROOT: return navigates.root(window); + case operations.FOCUS_INPUT: + return focuses.focusInput(); case operations.URLS_YANK: urls.yank(window); return consoleFrames.postMessage(window.document, { |