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

Don't anchor :back/:forward completions.

This commit is contained in:
Doug Kearns
2009-01-12 20:46:31 +11:00
parent 0b682ef42b
commit 22c65025ed

View File

@@ -734,9 +734,9 @@ function History() //{{{
{
let sh = window.getWebNavigation().sessionHistory;
context.anchor = false;
context.completions = [sh.getEntryAtIndex(i, false) for (i in util.range(sh.index, 0, true))];
context.keys = { text: function (item) item.URI.spec, description: "title" };
liberator.dump(context.items);
},
count: true,
literal: 0
@@ -780,6 +780,7 @@ function History() //{{{
{
let sh = window.getWebNavigation().sessionHistory;
context.anchor = false;
context.completions = [sh.getEntryAtIndex(i, false) for (i in util.range(sh.index + 1, sh.count))];
context.keys = { text: function (item) item.URI.spec, description: "title" };
},