mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 15:45:44 +01:00
Fix :se completion
This commit is contained in:
@@ -709,7 +709,7 @@ liberator.Options = function () //{{{
|
|||||||
return [0, liberator.completion.filter(optionCompletions, filter)];
|
return [0, liberator.completion.filter(optionCompletions, filter)];
|
||||||
}
|
}
|
||||||
|
|
||||||
let prefix = filter.match(/^(no|inv)/)[0] || "";
|
let prefix = (filter.match(/^(no|inv)/) || [""])[0];
|
||||||
if (prefix)
|
if (prefix)
|
||||||
filter = filter.substr(prefix.length);
|
filter = filter.substr(prefix.length);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user