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

Fix live update issues.

This commit is contained in:
Kris Maglione
2011-03-07 17:45:22 -05:00
parent c08c0dc19f
commit f002825d10
9 changed files with 52 additions and 29 deletions

View File

@@ -721,7 +721,7 @@ var CommandLine = Module("commandline", {
highlightGroup = highlightGroup || this.HL_NORMAL;
if (flags & this.APPEND_TO_MESSAGES) {
let message = isObject(data) && !isinstance(data, _) ? data : { message: String(data) };
let message = isObject(data) ? data : { message: String(data) };
this._messageHistory.add(update({ highlight: highlightGroup }, message));
data = message.message;
}