1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 05:57:58 +01:00

fixed visual glitch with <tab> in commandline when there are no results

This commit is contained in:
Martin Stubenschrott
2008-06-07 22:02:56 +00:00
parent 62df5aa6fe
commit ff92690794

View File

@@ -657,6 +657,8 @@ liberator.CommandLine = function () //{{{
{ {
liberator.beep(); liberator.beep();
// prevent tab from moving to the next field: // prevent tab from moving to the next field:
event.preventDefault();
event.stopPropagation();
return false; return false;
} }
@@ -730,7 +732,6 @@ liberator.CommandLine = function () //{{{
completionIndex = UNINITIALIZED; completionIndex = UNINITIALIZED;
} }
} }
// prevent tab from moving to the next field // prevent tab from moving to the next field
event.preventDefault(); event.preventDefault();
event.stopPropagation(); event.stopPropagation();