diff options
author | Kris Maglione <maglione.k@gmail.com> | 2010-12-22 20:44:40 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2010-12-22 20:44:40 -0500 |
commit | 03b179433d2c669a5f8c27f1f9d4ec0ea4c7ace6 (patch) | |
tree | fde28418181aa2a1b80acbffa2fe979bef04899d /common/modules/template.jsm | |
parent | c6462e49b3dd1424b8354ee63ab09365bc764ffe (diff) | |
download | pentadactyl-03b179433d2c669a5f8c27f1f9d4ec0ea4c7ace6.tar.gz |
Fix completion filter highlighting.
Diffstat (limited to 'common/modules/template.jsm')
-rw-r--r-- | common/modules/template.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/template.jsm b/common/modules/template.jsm index b8bab403..bdb2b8b3 100644 --- a/common/modules/template.jsm +++ b/common/modules/template.jsm @@ -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)}</>; |