Add files via upload
This commit is contained in:
parent
bd6ab82ea0
commit
5d423cdae8
1 changed files with 4 additions and 1 deletions
5
elastic2022/ui.min.js
vendored
5
elastic2022/ui.min.js
vendored
|
@ -4538,9 +4538,12 @@ if(!m.querySelector(".rcmContactAddress")) return ""
|
|||
var txt=m.querySelector(".rcmContactAddress").textContent.trim().replace(/[|&;$%@"<>()+-.,]/g, "");
|
||||
var ret =txt.charAt(0)
|
||||
var tab = txt.split(' ');
|
||||
/*
|
||||
for(var i=1;i<3&&tab.length>i;i++)
|
||||
ret+=tab[i].charAt(0)
|
||||
|
||||
*/
|
||||
if(tab[1])
|
||||
ret+=tab[1].charAt(0)
|
||||
return ret.toUpperCase();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue