mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-10 16:08:34 +01:00
Target text could also be a number, treat it the same as string
This commit is contained in:
parent
a5e17d5193
commit
0b41f9da89
@ -647,7 +647,7 @@ function et2_insertLinkText(_text, _node, _target)
|
||||
{
|
||||
var s = _text[i];
|
||||
|
||||
if (typeof s == "string")
|
||||
if (typeof s == "string" || typeof s == "number")
|
||||
{
|
||||
_node.appendChild(document.createTextNode(s));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user