Fixed undefines within links
This commit is contained in:
parent
7ccd34476a
commit
2c9255341f
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ namespace chat {
|
|||
|
||||
if(element.nodeType == Node.TEXT_NODE)
|
||||
return element.textContent;
|
||||
return element.innerText + "-";
|
||||
return typeof(element.innerText) === "string" ? element.innerText : "";
|
||||
}
|
||||
|
||||
private htmlEscape(message: string) : string {
|
||||
|
|
Loading…
Add table
Reference in a new issue