diff options
| author | Niklas Baumstark | 2012-01-25 00:30:36 +0100 |
|---|---|---|
| committer | Niklas Baumstark | 2012-04-10 23:57:20 +0200 |
| commit | 99c19d210f4f7024585eb93d80967377c67fa44e (patch) | |
| tree | 764aa32e629937f59867c6e2cb9b65f02c783e28 /fuzzyMode.js | |
| parent | 885c6333bc2b73c088f2de0c86ae760e0034491c (diff) | |
| download | vimium-99c19d210f4f7024585eb93d80967377c67fa44e.tar.bz2 | |
fix regression in 10a77d25c3
Diffstat (limited to 'fuzzyMode.js')
| -rw-r--r-- | fuzzyMode.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fuzzyMode.js b/fuzzyMode.js index 8b817883..1edb18f0 100644 --- a/fuzzyMode.js +++ b/fuzzyMode.js @@ -80,9 +80,8 @@ var fuzzyMode = (function() { }, updateSelection: function() { - this.completionList.childNodes.forEach(function(child, i) { - child.className = (i == this.selection) ? 'selected' : ''; - }); + for (var i = 0; i < this.completionList.children.length; ++i) + this.completionList.children[i].className = (i == this.selection) ? 'selected' : ''; }, onKeydown: function(event) { |
