summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-05 12:35:50 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-05 12:35:50 +0900
commitf84e9c7dc8d676c0851210aa87df47d5b41835aa (patch)
tree344719701a74e8d8c5b30cb6d45af476c868b8f4 /src/client
parent:v: (diff)
downloadsharkey-f84e9c7dc8d676c0851210aa87df47d5b41835aa.tar.gz
sharkey-f84e9c7dc8d676c0851210aa87df47d5b41835aa.tar.bz2
sharkey-f84e9c7dc8d676c0851210aa87df47d5b41835aa.zip
絵文字サジェストでスペースを挿入しないように
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/directives/autocomplete.ts2
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;