diff options
author | Steve Fromwork <stevefromwork@live.com> | 2020-08-31 14:50:06 +0900 |
---|---|---|
committer | Steve Fromwork <stevefromwork@live.com> | 2020-08-31 14:50:06 +0900 |
commit | b0c90a7c1bd83deec65eda623a11c24024ea8b2c (patch) | |
tree | 82243cedccc49df7b4fb36ebb699d505feb1c3bc /src/content/presenters/FocusPresenter.ts | |
parent | 1ed179dd8cb462e12b8eee4fd186c36f1cf3307d (diff) |
Focus inputs without type
Diffstat (limited to 'src/content/presenters/FocusPresenter.ts')
-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) { |