Fixed undefines within links
parent
7ccd34476a
commit
2c9255341f
|
@ -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…
Reference in New Issue