1
0
forked from mirror/misskey

絵文字サジェストでスペースを挿入しないように

This commit is contained in:
syuilo 2018-11-05 12:35:50 +09:00
parent a22ddb1fb9
commit f84e9c7dc8
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -222,8 +222,6 @@ class Autocomplete {
const trimmedBefore = before.substring(0, before.lastIndexOf(':')); const trimmedBefore = before.substring(0, before.lastIndexOf(':'));
const after = source.substr(caret); const after = source.substr(caret);
if (value.startsWith(':')) value = value + ' ';
// 挿入 // 挿入
this.text = trimmedBefore + value + after; this.text = trimmedBefore + value + after;