1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 10:07:59 +01:00

fixed multiline input widget

This commit is contained in:
Doug Kearns
2007-09-08 10:10:12 +00:00
parent 5abcf8fefe
commit 1c032bcba6

View File

@@ -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);
}