Skip to content

Commit 837823b

Browse files
committed
Fix missing 'let' declaration in input length indicator initialization loop
1 parent 8e5117f commit 837823b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

etna/core/static/admin/js/inputLengthIndicators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const initializeLengthIndicator = function (input) {
5858
};
5959

6060
document.addEventListener("DOMContentLoaded", function () {
61-
for (input of document.querySelectorAll(
61+
for (let input of document.querySelectorAll(
6262
".w-field__input input[maxlength], .w-field__input textarea[maxlength]",
6363
)) {
6464
initializeLengthIndicator(input);

0 commit comments

Comments
 (0)