Correctly set message text
There might be multiple parts to each message, e.g. if a plugin colourises some parts of a message.
This commit is contained in:
parent
5b5082dfd4
commit
c5e548c8ab
|
@ -238,8 +238,8 @@ models.service('models', ['$rootScope', '$filter', function($rootScope, $filter)
|
||||||
}
|
}
|
||||||
|
|
||||||
var rtext = "";
|
var rtext = "";
|
||||||
if (content[0] !== undefined) {
|
for (var i = 0; i < content.length; ++i) {
|
||||||
rtext = content[0].text;
|
rtext += content[i].text;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue