1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-07 10:15:45 +01:00

fix 'defsearch' validator

This commit is contained in:
Doug Kearns
2008-11-25 15:19:07 +00:00
parent ab057c17a6
commit 4462bb3768

View File

@@ -236,7 +236,7 @@ function Bookmarks() //{{{
completer: function (filter) completion._url(filter, "s").items,
validator: function (value)
{
return completion._url("", "s").items.some(function (s) s[0] == value);
return completion._url("", "s").items.some(function (s) s.text == value);
}
});