diff options
Diffstat (limited to 'app')
-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 e392bad18..3bd7d7cf0 100644 --- a/app/javascript/packs/public.js +++ b/app/javascript/packs/public.js @@ -46,7 +46,7 @@ const parseFormat = (format) => format.replace(/%(\w)/g, (_, modifier) => { }); document.addEventListener('DOMContentLoaded', () => { - for (const content of document.getElementsByClassName('emojify')) { + for (const content of document.querySelectorAll('.emojify')) { content.innerHTML = emojify(content.innerHTML); } |