summaryrefslogtreecommitdiff
path: root/src/web/app/common/views/components/post-html.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-25 17:03:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-25 17:03:39 +0900
commit0b7f33849a730b620cc25aeffeac2c4e2b48ecef (patch)
tree6ebe2629e6b4e448bac6e10b95841522e021b4e7 /src/web/app/common/views/components/post-html.ts
parent:v: (diff)
downloadsharkey-0b7f33849a730b620cc25aeffeac2c4e2b48ecef.tar.gz
sharkey-0b7f33849a730b620cc25aeffeac2c4e2b48ecef.tar.bz2
sharkey-0b7f33849a730b620cc25aeffeac2c4e2b48ecef.zip
Improve emojis
Diffstat (limited to 'src/web/app/common/views/components/post-html.ts')
-rw-r--r--src/web/app/common/views/components/post-html.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/common/views/components/post-html.ts b/src/web/app/common/views/components/post-html.ts
index adb025589d..37f60bd080 100644
--- a/src/web/app/common/views/components/post-html.ts
+++ b/src/web/app/common/views/components/post-html.ts
@@ -1,5 +1,5 @@
import Vue from 'vue';
-import * as pictograph from 'pictograph';
+import * as emojilib from 'emojilib';
import { url } from '../../../config';
import MkUrl from './url.vue';
@@ -92,7 +92,7 @@ export default Vue.component('mk-post-html', {
return createElement('code', token.html);
case 'emoji':
- return createElement('span', pictograph.dic[token.emoji] || token.content);
+ return createElement('span', emojilib.lib[token.emoji] || token.content);
}
}));