Fix character counter not updating for bio (#3101)
This commit is contained in:
parent
226c9836e4
commit
76449df903
3 changed files with 9 additions and 9 deletions
|
@ -101,7 +101,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
});
|
||||
|
||||
delegate(document, '.account_note', 'input', ({ target }) => {
|
||||
const [noteCounter, ] = document.getElementsByClassName('.note-counter');
|
||||
const [noteCounter, ] = document.getElementsByClassName('note-counter');
|
||||
noteCounter.textContent = 160 - length(target.value);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue