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