From 0b7f33849a730b620cc25aeffeac2c4e2b48ecef Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 25 Feb 2018 17:03:39 +0900 Subject: Improve emojis --- src/web/app/common/views/components/post-html.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/app/common/views/components/post-html.ts') 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); } })); -- cgit v1.2.3-freya