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:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user