1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 15:22:26 +01:00

Add go=r to toggle the scrollbar

This commit is contained in:
Kris Maglione
2008-12-04 15:58:19 -05:00
parent eb11ec2b06
commit b8d32c8e3d
6 changed files with 78 additions and 38 deletions

View File

@@ -122,6 +122,8 @@ CompletionContext.prototype = {
{
let self = this;
let minStart = Math.min.apply(Math, [context.offset for ([k, context] in Iterator(this.contexts)) if (context.items.length && context.hasItems)]);
if (minStart == Infinity)
minStart = 0;
let items = this.contextList.map(function (context) {
if (!context.hasItems)
return [];