mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-28 04:25:45 +01:00
Fix completion filter highlighting.
This commit is contained in:
@@ -173,7 +173,7 @@ const Template = Module("Template", {
|
||||
break;
|
||||
XML.ignoreWhitespace = false;
|
||||
s += <>{str.substring(start, i)}</>;
|
||||
s += highlight.apply(this, Array.slice(args || str.substr(i, length)));
|
||||
s += highlight.apply(this, Array.concat(args || str.substr(i, length)));
|
||||
start = i + length;
|
||||
}
|
||||
return s + <>{str.substr(start)}</>;
|
||||
|
||||
Reference in New Issue
Block a user