mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 05:13:08 +02:00
絵文字サジェストでスペースを挿入しないように
This commit is contained in:
parent
a22ddb1fb9
commit
f84e9c7dc8
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue