1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-15 15:53:37 +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; where = setMultiline;
else if (flags & this.FORCE_SINGLELINE) else if (flags & this.FORCE_SINGLELINE)
where = function () setLine(str, highlightGroup, true); 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; where = null;
else else
where = setMultiline; where = function () setLine(str, highlightGroup, true);
} }
else if (/\n|<br\/?>/.test(str)) else if (/\n|<br\/?>/.test(str))
where = setMultiline; where = setMultiline;