mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-19 08:20:13 +00:00
Fix emojis not showing in commit messages (#5168)
Fixes #5150 Signed-off-by: James Anderson <james@jamesa.me>
This commit is contained in:
parent
d4e6278764
commit
1ceae07560
2 changed files with 6 additions and 1 deletions
|
@ -1766,6 +1766,11 @@ $(document).ready(function () {
|
|||
var hasEmoji = document.getElementsByClassName('has-emoji');
|
||||
for (var i = 0; i < hasEmoji.length; i++) {
|
||||
emojify.run(hasEmoji[i]);
|
||||
for (var j = 0; j < hasEmoji[i].childNodes.length; j++) {
|
||||
if (hasEmoji[i].childNodes[j].nodeName === "A") {
|
||||
emojify.run(hasEmoji[i].childNodes[j])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Clipboard JS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue