forked from forgejo/forgejo
Render emojis in more places.
This commit is contained in:
parent
37ac743da7
commit
13e71acadf
11 changed files with 24 additions and 19 deletions
|
@ -878,7 +878,10 @@ $(document).ready(function () {
|
|||
img_dir: suburl + '/img/emoji',
|
||||
ignore_emoticons: true
|
||||
});
|
||||
emojify.run();
|
||||
var hasEmoji = document.getElementsByClassName('has-emoji');
|
||||
for (var i = 0; i < hasEmoji.length; i++) {
|
||||
emojify.run(hasEmoji[i]);
|
||||
}
|
||||
|
||||
// Clipboard JS
|
||||
var clipboard = new Clipboard('.clipboard');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue