From ff926907941a39afad293bdef30b4ed2cc4a3e6d Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Sat, 7 Jun 2008 22:02:56 +0000 Subject: [PATCH] fixed visual glitch with in commandline when there are no results --- content/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/ui.js b/content/ui.js index e0c56aad..2e0115e1 100644 --- a/content/ui.js +++ b/content/ui.js @@ -657,6 +657,8 @@ liberator.CommandLine = function () //{{{ { liberator.beep(); // prevent tab from moving to the next field: + event.preventDefault(); + event.stopPropagation(); return false; } @@ -730,7 +732,6 @@ liberator.CommandLine = function () //{{{ completionIndex = UNINITIALIZED; } } - // prevent tab from moving to the next field event.preventDefault(); event.stopPropagation();