1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-01 21:12:27 +01:00

fixed multiline input widget

This commit is contained in:
Martin Stubenschrott
2007-09-06 01:19:11 +00:00
parent 0c12d46846
commit e4981ca34c

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