mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 23:41:52 +00:00
Fix JavaScript error (#3153)
JavaScript error at Safari 10.1(macOS 10.12.4) / iPhone Safari(iOS 10.3.2)
This commit is contained in:
parent
b6f6152e26
commit
7eb8b2efad
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user