mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-04 10:55:47 +01:00
Fix mappings.getCandidates(). Closes issue #227.
This commit is contained in:
@@ -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)))),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user