1
0
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:
Kris Maglione
2010-12-22 20:44:40 -05:00
parent c6462e49b3
commit 03b179433d
2 changed files with 2 additions and 2 deletions

View File

@@ -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)}</>;