diff --git a/content/completion.js b/content/completion.js index ae28a722..48f23194 100644 --- a/content/completion.js +++ b/content/completion.js @@ -253,7 +253,7 @@ liberator.Completion = function () //{{{ } catch (e) { - return []; + return [0, []]; } if (tail) diff --git a/content/ui.js b/content/ui.js index 6ab8a32f..dc21b47b 100644 --- a/content/ui.js +++ b/content/ui.js @@ -597,7 +597,6 @@ liberator.CommandLine = function () //{{{ if (completionIndex == UNINITIALIZED) { completionStartIndex = 0; - completionIndex = -1; wildIndex = 0;