summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-02 19:49:13 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-02 19:49:13 -0500
commit3ef94f586117a8385b43e144cdafedf1283145ff (patch)
treee492fdadc39741a1ebb92ea98439432def327484 /common
parent7605c0ed54b1d56ec9b99d25a9c2ccea42d2108b (diff)
downloadpentadactyl-3ef94f586117a8385b43e144cdafedf1283145ff.tar.gz
Fix mappings.getCandidates(). Closes issue #227.
Diffstat (limited to 'common')
-rw-r--r--common/content/mappings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/mappings.js b/common/content/mappings.js
index f357d6ec..d817847a 100644
--- a/common/content/mappings.js
+++ b/common/content/mappings.js
@@ -276,7 +276,7 @@ var Mappings = Module("mappings", {
*/
getCandidates: function (mode, prefix)
this._user[mode].concat(this._main[mode])
- .filter(function (map) map.names.some(
+ .filter(function (map) map.keys.some(
function (name) name.indexOf(prefix) == 0 && name.length > prefix.length
&& (prefix != "<" || !/^<.+>/.test(name)))),