diff options
| author | Stephen Blott | 2015-03-07 16:03:33 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-03-07 16:03:33 +0000 |
| commit | 3e0d5f0538a5db5a170eb35f6ef44f11d4923d42 (patch) | |
| tree | 380d3d81454f6fd58ff06e20daa64d7d4d91f9e4 /content_scripts/vimium_frontend.coffee | |
| parent | 3f59222312e1aab165eaa5eaa379de256d8e61d0 (diff) | |
| download | vimium-3e0d5f0538a5db5a170eb35f6ef44f11d4923d42.tar.bz2 | |
Add HTML5 date and tel as targets for focusInput.
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 836acecd..b2d9f735 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -26,7 +26,7 @@ validFirstKeys = "" # The corresponding XPath for such elements. textInputXPath = (-> - textInputTypes = ["text", "search", "email", "url", "number", "password"] + textInputTypes = [ "text", "search", "email", "url", "number", "password", "date", "tel" ] inputElements = ["input[" + "(" + textInputTypes.map((type) -> '@type="' + type + '"').join(" or ") + "or not(@type))" + " and not(@disabled or @readonly)]", |
