0
0
Fork 0

Fix character counter not updating for bio (#3101)

This commit is contained in:
Eugen Rochko 2017-05-18 00:38:18 +02:00 committed by GitHub
parent 226c9836e4
commit 76449df903
3 changed files with 9 additions and 9 deletions

View file

@ -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);
});
});