add class to letter
This commit is contained in:
parent
118853e0a7
commit
cf47feba42
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ const setString = (firstname = String, data = Object) => {
|
||||||
infos.textContent = JSON.stringify(data[letter_value.toLowerCase()]);
|
infos.textContent = JSON.stringify(data[letter_value.toLowerCase()]);
|
||||||
|
|
||||||
// Change parameter of tag
|
// Change parameter of tag
|
||||||
|
infos.className = "firstname-letter"
|
||||||
infos.style.visibility = "hidden";
|
infos.style.visibility = "hidden";
|
||||||
infos.style.position = "absolute";
|
infos.style.position = "absolute";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue