mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:08:00 +01:00
fixed visual glitch with <tab> in commandline when there are no results
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user