1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:37:59 +01:00

Fix the visual bell

This commit is contained in:
Kris Maglione
2008-10-08 17:44:11 +00:00
parent 97d1c1afd9
commit e22bd873ff
4 changed files with 16 additions and 13 deletions

View File

@@ -864,7 +864,7 @@ liberator.Completion = function () //{{{
{
if (h[0].indexOf(begin) == 0 && (!end.length || h[0].substr(-end.length) == end))
{
let query = h[0].substr(begin.length, h[0].length - end.length);
let query = h[0].substring(begin.length, h[0].length - end.length);
searches.push([decodeURIComponent(query),
<>{begin}<span class="hl-Filter">{query}</span>{end}</>,
k[2]]);