Better alt value

This commit is contained in:
syuilo 2018-11-05 19:33:28 +09:00
parent 3abe632f06
commit 3fe934ee62
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -35,7 +35,7 @@ export default Vue.extend({
computed: { computed: {
alt(): string { alt(): string {
return this.customEmoji ? this.customEmoji.name : this.char; return this.customEmoji ? `:${this.customEmoji.name}:` : this.char;
}, },
useOsDefaultEmojis(): boolean { useOsDefaultEmojis(): boolean {