1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 14:02:28 +01:00

Restrict history completion to 100 items by default.

This commit is contained in:
Kris Maglione
2008-11-29 07:23:10 +00:00
parent 9200548683
commit b56f543e3f

View File

@@ -1332,12 +1332,14 @@ function Completion() //{{{
}
},
history: function _history(context)
history: function _history(context, maxItems)
{
context.format = history.format;
context.title = ["History"]
context.compare = null;
//context.background = true;
if (context.maxItems == null)
context.maxItems = 100;
context.regenerate = true;
context.generate = function () history.get(context.filter, this.maxItems);
},