diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-05 12:35:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-05 12:35:50 +0900 |
| commit | f84e9c7dc8d676c0851210aa87df47d5b41835aa (patch) | |
| tree | 344719701a74e8d8c5b30cb6d45af476c868b8f4 /src | |
| parent | :v: (diff) | |
| download | sharkey-f84e9c7dc8d676c0851210aa87df47d5b41835aa.tar.gz sharkey-f84e9c7dc8d676c0851210aa87df47d5b41835aa.tar.bz2 sharkey-f84e9c7dc8d676c0851210aa87df47d5b41835aa.zip | |
絵文字サジェストでスペースを挿入しないように
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/common/views/directives/autocomplete.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/app/common/views/directives/autocomplete.ts b/src/client/app/common/views/directives/autocomplete.ts index 1a5c5daedc..e3016f0b7b 100644 --- a/src/client/app/common/views/directives/autocomplete.ts +++ b/src/client/app/common/views/directives/autocomplete.ts @@ -222,8 +222,6 @@ class Autocomplete { const trimmedBefore = before.substring(0, before.lastIndexOf(':')); const after = source.substr(caret); - if (value.startsWith(':')) value = value + ' '; - // 挿入 this.text = trimmedBefore + value + after; |