diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2016-03-02 21:18:58 -0300 |
---|---|---|
committer | Andrey Nering <andrey.nering@gmail.com> | 2016-03-02 21:54:05 -0300 |
commit | 13e71acadf538124724c24b6332e4fa8a59baadb (patch) | |
tree | f49edfe271408ae5cc6cd3275e64512a2312d780 /public | |
parent | 37ac743da7ba2931dfaaa947bf73ed55534e6f29 (diff) | |
download | gitea-13e71acadf538124724c24b6332e4fa8a59baadb.tar.gz gitea-13e71acadf538124724c24b6332e4fa8a59baadb.zip |
Render emojis in more places.
Diffstat (limited to 'public')
-rw-r--r-- | public/js/gogs.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index 3459658585..c4b4668f9c 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -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'); |