diff options
| author | Stephen Blott | 2017-10-29 12:15:41 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2017-10-29 12:15:41 +0000 | 
| commit | b3c040f84b6ae44a3a79778e2435cf949f7e707b (patch) | |
| tree | 8e4eca1e18cd4c99054c05436811760d2402ed05 /content_scripts | |
| parent | 7f51eb26f5a5536ba81d4dea3cf92cc30087ddc7 (diff) | |
| download | vimium-b3c040f84b6ae44a3a79778e2435cf949f7e707b.tar.bz2 | |
Make file inputs work with filtered hints.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 8b5bb8d9..38ac3b28 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -841,6 +841,8 @@ LocalHints =        if labelMap[element.id]          linkText = labelMap[element.id]          showLinkText = true +      else if element.getAttribute("type")?.toLowerCase() == "file" +        linkText = "Choose File"        else if element.type != "password"          linkText = element.value          if not linkText and 'placeholder' of element | 
