mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 08:17:58 +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
|
||||
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();
|
||||
}, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user