1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-24 12:55:46 +01:00

Localization-related changes. Fix dead help links.

This commit is contained in:
Kris Maglione
2011-03-04 23:04:06 -05:00
parent 058094f87d
commit 96c5044ac4
20 changed files with 150 additions and 130 deletions

View File

@@ -293,6 +293,7 @@ var Config = Module("config", ConfigBase, {
context.filterFunc = null;
let words = context.filter.toLowerCase().split(/\s+/g);
context.hasItems = true;
context.completions = context.completions.filter(function ({ url, title })
words.every(function (w) (url + " " + title).toLowerCase().indexOf(w) >= 0))
context.incomplete = true;