Browse Source

emojify.js: ignore_emoticons

Unknwon 9 năm trước cách đây
mục cha
commit
7436ce6403
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      public/js/gogs.js

+ 2 - 1
public/js/gogs.js

@@ -867,7 +867,8 @@ $(document).ready(function () {
 
     // Emojify
     emojify.setConfig({
-        img_dir: suburl + '/img/emoji'
+        img_dir: suburl + '/img/emoji',
+        ignore_emoticons: true
     });
     emojify.run();