diff options
| author | Jez Ng | 2012-08-07 21:22:27 -0700 | 
|---|---|---|
| committer | Jez Ng | 2012-08-21 00:25:28 -0700 | 
| commit | 3afb5e6ee1295de6ccb043b3164b53955e8e1fc7 (patch) | |
| tree | 3331927c5e768a2353faf6cd876404e64f196b70 | |
| parent | 6af96249d408d3a4131bafc5a6b83b46d6b90523 (diff) | |
| download | vimium-3afb5e6ee1295de6ccb043b3164b53955e8e1fc7.tar.bz2 | |
Don't show hints on `gi` if there is only one input element.
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 1ab938fe..2fa6b93f 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -314,6 +314,8 @@ extend window,      visibleInputs[selectedInputIndex].element.focus() +    return if visibleInputs.length == 1 +      hintMarkers = (LinkHints.createMarkerFor(el) for el in visibleInputs)      for marker, idx in hintMarkers | 
