Skip to content

Commit

Permalink
Last
Browse files Browse the repository at this point in the history
  • Loading branch information
IOherhi committed Mar 5, 2025
1 parent b78602b commit d4f4a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const arrayInputs = [...allInputs];
const field = body.querySelectorAll('.field');

arrayInputs.forEach((item) => {
const name = item.getAttribute('name')
let name = item.getAttribute('name')

Check failure on line 9 in src/scripts/main.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'name' is already a global variable
item.setAttribute('placeholder', name[0].toUpperCase() + name.slice(1));
});

Expand Down

0 comments on commit d4f4a4e

Please sign in to comment.