Merge pull request #450 from blackle/master
simplify emojification on public pages with .emojify class
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import emojify from './components/emoji'
|
||||
|
||||
$(() => {
|
||||
$.each($('.entry .content, .entry .status__content, .status__display-name, .display-name, .name, .account__header__content'), (_, content) => {
|
||||
$.each($('.emojify'), (_, content) => {
|
||||
const $content = $(content);
|
||||
$content.html(emojify($content.html()));
|
||||
});
|
||||
|
Reference in New Issue
Block a user