aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/gogs.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/gogs.js')
-rw-r--r--public/js/gogs.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index 81a9c1f443..34c8c9222b 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -630,9 +630,7 @@ $(document).ready(function () {
emojify.setConfig({
img_dir: suburl + '/img/emoji'
});
- $('.emojify').each(function () {
- emojify.run($(this)[0]);
- });
+ emojify.run();
// Clipboard JS
var clipboard = new Clipboard('.clipboard');