diff options
Diffstat (limited to 'app/javascript')
-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); }); }); |