1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 06:02:26 +01:00

Fix :se completion

This commit is contained in:
Kris Maglione
2008-10-10 18:03:09 +00:00
parent 3c28cbf9f6
commit 0da19dfb31

View File

@@ -709,7 +709,7 @@ liberator.Options = function () //{{{
return [0, liberator.completion.filter(optionCompletions, filter)];
}
let prefix = filter.match(/^(no|inv)/)[0] || "";
let prefix = (filter.match(/^(no|inv)/) || [""])[0];
if (prefix)
filter = filter.substr(prefix.length);