From 9e13dee7dd35e82f669fd586164959db12806f5c Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 5 Oct 2008 14:26:32 +0000 Subject: [PATCH] Use the favicon returned by history search. --- content/completion.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/completion.js b/content/completion.js index 2bd9d763..c5fd6207 100644 --- a/content/completion.js +++ b/content/completion.js @@ -45,11 +45,12 @@ liberator.Completion = function () //{{{ let comp = []; for (let i in liberator.util.range(0, historyResult.matchCount)) comp.push([historyResult.getValueAt(i), - historyResult.getCommentAt(i)]); + historyResult.getCommentAt(i), + historyResult.getImageAt(i)]); //let foo = ["", "IGNORED", "FAILURE", "NOMATCH", "SUCCESS", "NOMATCH_ONGOING", "SUCCESS_ONGOING"]; - historyCache = comp.map(addIcon); + historyCache = comp; liberator.commandline.setCompletions(completionCache.concat(historyCache)); });