1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 02:15:47 +01:00

fixed showmode handling for muttator composer

This commit is contained in:
Martin Stubenschrott
2008-11-01 20:21:14 +00:00
parent 13720d44b8
commit f5bc695368

View File

@@ -649,12 +649,12 @@ function CommandLine() //{{{
where = setMultiline;
else if (flags & this.FORCE_SINGLELINE)
where = function () setLine(str, highlightGroup, true);
else if (!outputContainer.collapsed)
else if (flags & this.DISALLOW_MULTILINE)
{
if (flags & this.DISALLOW_MULTILINE)
if (!outputContainer.collapsed)
where = null;
else
where = setMultiline;
where = function () setLine(str, highlightGroup, true);
}
else if (/\n|<br\/?>/.test(str))
where = setMultiline;