From e5bce7c63c785595e692a43ea747b92e389e636e Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 5 Oct 2008 04:06:14 +0000 Subject: [PATCH] *** empty log message *** --- content/completion.js | 1 + content/ui.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/content/completion.js b/content/completion.js index 272159e0..75fbd954 100644 --- a/content/completion.js +++ b/content/completion.js @@ -59,6 +59,7 @@ liberator.Completion = function () //{{{ .getService(Components.interfaces.nsIIOService); function getIcon(uri) { + return; try { let img = faviconService.getFaviconImageForPage(ioService.newURI(uri, null, null)); diff --git a/content/ui.js b/content/ui.js index 9819b9e0..7238af61 100644 --- a/content/ui.js +++ b/content/ui.js @@ -108,9 +108,9 @@ liberator.CommandLine = function () //{{{ var statusTimer = new liberator.util.Timer(50, 100, function () liberator.statusline.updateProgress("match " + (completionIndex + 1) + " of " + completions.length)); var autocompleteTimer = new liberator.util.Timer(50, 100, function (command) { - var res = liberator.completion.ex(command); - liberator.commandline.setCompletions(res[1], res[0]); - }); + let res = liberator.completion.ex(command); + liberator.commandline.setCompletions(res[1], res[0]); + }); // the containing box for the promptWidget and commandWidget var commandlineWidget = document.getElementById("liberator-commandline");