From e182103a06ab772265ea9800bcdfcfbab7e46c14 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Mon, 27 Feb 2017 17:01:26 +0900 Subject: [PATCH] Fix typo: trimed -> trimmed --- src/web/app/desktop/scripts/autocomplete.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/app/desktop/scripts/autocomplete.js b/src/web/app/desktop/scripts/autocomplete.js index 86f1ae4b3..60f28f5fa 100644 --- a/src/web/app/desktop/scripts/autocomplete.js +++ b/src/web/app/desktop/scripts/autocomplete.js @@ -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();