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