lowercase letter to always retrieve data from it
This commit is contained in:
parent
8eb4ed689e
commit
6b813e0852
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ const setString = (firstname = String, data = Object) => {
|
|||
|
||||
// Fill elements with data
|
||||
letter.textContent = letter_value;
|
||||
infos.textContent = JSON.stringify(data[letter_value]);
|
||||
infos.textContent = JSON.stringify(data[letter_value.toLowerCase()]);
|
||||
|
||||
// Change parameter of tag
|
||||
infos.style.visibility = "hidden";
|
||||
|
|
Loading…
Reference in a new issue