1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 23:27:59 +01:00

Small fixes for recent commits.

This commit is contained in:
Kris Maglione
2009-01-15 15:44:21 -05:00
parent 876a8e6df0
commit bd881e062b
2 changed files with 3 additions and 3 deletions

View File

@@ -1139,7 +1139,7 @@ function Editor() //{{{
removeAllAbbreviations: function (filter) removeAllAbbreviations: function (filter)
{ {
let searchFilter = (filter == "!") ? "!ci" : filter + "!"; let searchFilter = (filter == "!") ? "!ci" : filter + "!";
for ([lhs, [mode, rhs]] in abbrevs()) for (let [lhs, [mode, rhs]] in abbrevs())
if (searchFilter.indexOf(mode) >= 0) if (searchFilter.indexOf(mode) >= 0)
this.removeAbbreviation(filter, lhs); this.removeAbbreviation(filter, lhs);
} }

View File

@@ -734,7 +734,7 @@ function History() //{{{
{ {
let sh = window.getWebNavigation().sessionHistory; let sh = window.getWebNavigation().sessionHistory;
context.anchor = false; context.anchored = false;
context.completions = [sh.getEntryAtIndex(i, false) for (i in util.range(sh.index, 0, true))]; 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" }; context.keys = { text: function (item) item.URI.spec, description: "title" };
}, },
@@ -780,7 +780,7 @@ function History() //{{{
{ {
let sh = window.getWebNavigation().sessionHistory; let sh = window.getWebNavigation().sessionHistory;
context.anchor = false; context.anchored = false;
context.completions = [sh.getEntryAtIndex(i, false) for (i in util.range(sh.index + 1, sh.count))]; 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" }; context.keys = { text: function (item) item.URI.spec, description: "title" };
}, },