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

Fix echomsg with XML objects.

This commit is contained in:
Kris Maglione
2011-03-07 22:57:57 -05:00
parent 49fc6ff7d4
commit fb98b4c625

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) ? data : { message: String(data) };
let message = isObject(data) ? data : { message: data };
this._messageHistory.add(update({ highlight: highlightGroup }, message));
data = message.message;
}