diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-09-21 14:35:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 14:35:21 +0900 |
commit | 6582e3b420c84ccd0bd1f6304ab022f45ee339c7 (patch) | |
tree | 13c86bd92250c472c308f8be682730a89645bf7d /src/content | |
parent | 7b8a96bbf7cb6d28c76c061a6b24a9fa821820b1 (diff) | |
parent | b0c90a7c1bd83deec65eda623a11c24024ea8b2c (diff) |
Merge pull request #823 from dev-output/focus-inputs-missing-type
Focus inputs without type
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/presenters/FocusPresenter.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/presenters/FocusPresenter.ts b/src/content/presenters/FocusPresenter.ts index 4d70a6e..3591039 100644 --- a/src/content/presenters/FocusPresenter.ts +++ b/src/content/presenters/FocusPresenter.ts @@ -11,7 +11,7 @@ export class FocusPresenterImpl implements FocusPresenter { .map((type) => `input[type=${type}]`) .join(","); const targets = window.document.querySelectorAll( - inputSelector + ",textarea" + inputSelector + ",input:not([type]),textarea" ); const target = Array.from(targets).find(doms.isVisible); if (target instanceof HTMLInputElement) { |