mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-25 11:07:56 +08:00
Render emojis in more places.
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user