mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 16:28:59 +00:00
Fix character counter not updating for bio (#3101)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user