Enabled filtering by binding keys

This commit is contained in:
Siteshwar Vashisht 2013-10-22 00:24:15 +05:30
parent 8279a0d477
commit 44b091a7c6

View file

@ -25,7 +25,7 @@ filters.filter("filterBinding", function() {
for(i=0; i<bindings.length; ++i) {
binding = bindings[i];
if (binding.command.indexOf(query) != -1) {
if (binding.command.indexOf(query) != -1 || binding.binding.toLowerCase().indexOf(query.toLowerCase()) != -1) {
result.push(binding);
}
}