about summary refs log tree commit diff
path: root/app/javascript/packs
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-05-18 00:38:18 +0200
committerGitHub <noreply@github.com>2017-05-18 00:38:18 +0200
commit76449df903de5b06ae22745a1a80ecf49a07e0d9 (patch)
tree9fe48eb48b81187f9ca38bfc08f247e8d55951c2 /app/javascript/packs
parent226c9836e464b3066015799c7572cd8ff3758968 (diff)
Fix character counter not updating for bio (#3101)
Diffstat (limited to 'app/javascript/packs')
-rw-r--r--app/javascript/packs/public.js2
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);
   });
 });