Skip to content
Snippets Groups Projects
Commit 87fb079e authored by Aya Morisawa's avatar Aya Morisawa
Browse files

Fix typo: trimed -> trimmed

parent 871a461f
No related branches found
No related tags found
No related merge requests found
......@@ -114,11 +114,11 @@ class Autocomplete {
const source = this.textarea.value;
const before = source.substr(0, caret);
const trimedBefore = before.substring(0, before.lastIndexOf('@'));
const trimmedBefore = before.substring(0, before.lastIndexOf('@'));
const after = source.substr(caret);
// 結果を挿入する
this.textarea.value = trimedBefore + '@' + value + ' ' + after;
this.textarea.value = trimmedBefore + '@' + value + ' ' + after;
// キャレットを戻す
this.textarea.focus();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment