add class to letter

This commit is contained in:
Mylloon 2022-06-24 10:12:49 +02:00
parent 118853e0a7
commit cf47feba42
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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";