mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:12:26 +01:00
Beep when the commandline loses focus
This commit is contained in:
@@ -706,8 +706,12 @@ function CommandLine() //{{{
|
||||
setTimeout(function () {
|
||||
if (liberator.mode == modes.COMMAND_LINE &&
|
||||
!(modes.extended & modes.INPUT_MULTILINE) &&
|
||||
!(modes.extended & modes.OUTPUT_MULTILINE))
|
||||
commandWidget.inputField.focus();
|
||||
!(modes.extended & modes.OUTPUT_MULTILINE) &&
|
||||
event.originalTarget == commandWidget.inputField)
|
||||
{
|
||||
commandWidget.inputField.focus();
|
||||
liberator.beep();
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
else if (event.type == "focus")
|
||||
|
||||
Reference in New Issue
Block a user