mastodon-docker-playground/app/assets/javascripts/extras.jsx

9 lines
223 B
React
Raw Normal View History

import emojify from './components/emoji'
$(() => {
$.each($('.entry .content, .name, .account__header__content'), (_, content) => {
const $content = $(content);
$content.html(emojify($content.html()));
});
});