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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user