aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya2012-08-09 08:44:25 -0700
committerIlya2012-08-09 08:44:25 -0700
commitc21b62e9d1645dc09af7e8a57761e57e3bb7c49d (patch)
tree0981414b4f53ecb3a656ebea9ffa3afb6a9235e1
parenta77dbd42dae9984d30f3b1f63ef8240a9e927fc9 (diff)
parentf41e1e63990b3b12654541374a0930c1fbff1adf (diff)
downloadvimium-c21b62e9d1645dc09af7e8a57761e57e3bb7c49d.tar.bz2
Merge pull request #613 from guns/fix-shuffle-regression
Fix regression in shuffleHints()
-rw-r--r--content_scripts/link_hints.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 361b5c74..34ecb431 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -301,7 +301,7 @@ alphabetHints =
#
shuffleHints: (hints, characterSetLength) ->
buckets = ([] for i in [0...characterSetLength] by 1)
- for hint in hints
+ for hint, i in hints
buckets[i % buckets.length].push(hint)
result = []
for bucket in buckets