mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:48:00 +01:00
fixed multiline input widget
This commit is contained in:
@@ -310,7 +310,8 @@ function CommandLine() //{{{
|
|||||||
{
|
{
|
||||||
// prevent losing focus, there should be a better way, but it just didn't work otherwise
|
// prevent losing focus, there should be a better way, but it just didn't work otherwise
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
if (vimperator.hasMode(vimperator.modes.COMMAND_LINE))
|
if (vimperator.hasMode(vimperator.modes.COMMAND_LINE) &&
|
||||||
|
!vimperator.hasMode(vimperator.modes.READ_MULTILINE))
|
||||||
command_widget.inputField.focus();
|
command_widget.inputField.focus();
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user