summaryrefslogtreecommitdiffstats
path: root/public/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 7700093598..0bc28c4f96 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -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