diff options
| author | jez | 2011-01-08 03:46:28 +0800 | 
|---|---|---|
| committer | jez | 2011-01-08 03:46:28 +0800 | 
| commit | 9da58222dfe99d31bddf33d5c3cd0ac12d69e065 (patch) | |
| tree | 363f252f9a47efddace9038bb927897ff40aea46 /linkHints.js | |
| parent | b147585e1f8509d457bc567e77203ae303b5cfa7 (diff) | |
| download | vimium-9da58222dfe99d31bddf33d5c3cd0ac12d69e065.tar.bz2 | |
In filter-mode, 'Enter' should activate the lowest-numbered visible hint.
Diffstat (limited to 'linkHints.js')
| -rw-r--r-- | linkHints.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/linkHints.js b/linkHints.js index c5ad6066..65d310b8 100644 --- a/linkHints.js +++ b/linkHints.js @@ -489,9 +489,9 @@ function initializeLinkHints() {              }            }          } else if (event.keyCode == keyCodes.enter) { -            // activate the lowest-numbered link hint +            // activate the lowest-numbered link hint that is visible              for (var i = 0; i < this.hintMarkers.length; i++) -              if (this.hintMarkers[i].getAttribute('filtered') != 'true') { +              if (this.hintMarkers[i].style.display  != 'none') {                  this.activateLink(this.hintMarkers[i].clickableItem);                  break;                } | 
