mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 17:35:46 +01:00
Another attempt at revision 8613b76cff40.
This commit is contained in:
@@ -278,7 +278,7 @@ var Config = Module("config", ConfigBase, {
|
||||
});
|
||||
},
|
||||
completion: function (dactyl, modules, window) {
|
||||
const { CompletionContext, bookmarkcache, bookmarks, completion } = modules;
|
||||
const { CompletionContext, bookmarkcache, completion } = modules;
|
||||
const { document } = window;
|
||||
|
||||
var searchRunning = null; // only until Firefox fixes https://bugzilla.mozilla.org/show_bug.cgi?id=510589
|
||||
@@ -297,7 +297,7 @@ var Config = Module("config", ConfigBase, {
|
||||
context.hasItems = context.completions.length > 0; // XXX
|
||||
context.incomplete = true;
|
||||
|
||||
context.format = bookmarks.format;
|
||||
context.format = modules.bookmarks.format;
|
||||
context.keys.extra = function (item) (bookmarkcache.get(item.url) || {}).extra;
|
||||
context.title = ["Smart Completions"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user