mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 22:02:26 +01:00
beep on gi without a count if there's no last input field
This commit is contained in:
@@ -319,8 +319,13 @@ liberator.Buffer = function () //{{{
|
||||
"Focus last used input field",
|
||||
function (count)
|
||||
{
|
||||
if (count < 1 && liberator.buffer.lastInputField)
|
||||
liberator.buffer.lastInputField.focus();
|
||||
if (count < 1)
|
||||
{
|
||||
if (liberator.buffer.lastInputField)
|
||||
liberator.buffer.lastInputField.focus();
|
||||
else
|
||||
liberator.beep();
|
||||
}
|
||||
else
|
||||
{
|
||||
var first = liberator.buffer.evaluateXPath(
|
||||
|
||||
Reference in New Issue
Block a user