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