diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-18 00:38:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 00:38:18 +0200 |
commit | 76449df903de5b06ae22745a1a80ecf49a07e0d9 (patch) | |
tree | 9fe48eb48b81187f9ca38bfc08f247e8d55951c2 /app/javascript/packs | |
parent | 226c9836e464b3066015799c7572cd8ff3758968 (diff) |
Fix character counter not updating for bio (#3101)
Diffstat (limited to 'app/javascript/packs')
-rw-r--r-- | app/javascript/packs/public.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/packs/public.js b/app/javascript/packs/public.js index 6aef2ffee..e392bad18 100644 --- a/app/javascript/packs/public.js +++ b/app/javascript/packs/public.js @@ -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); }); }); |