X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js%2Fautocomplete.js;h=3ed9fa30f9f2b23ae3007dda2348b0c9bb963abd;hb=3592f909105d09ac7d4d7bfebe47f4b3921763d6;hp=8702abbcf92e3b23b3522a2655a827eb6bd2d3bd;hpb=c38a5e443d42bc91355de64b9a3e4ce313e9ce47;p=friendica.git diff --git a/js/autocomplete.js b/js/autocomplete.js index 8702abbcf9..3ed9fa30f9 100644 --- a/js/autocomplete.js +++ b/js/autocomplete.js @@ -166,7 +166,7 @@ function listNewLineAutocomplete(id) { if (word != null) { var textBefore = text.value.substring(0, caretPos); var textAfter = text.value.substring(caretPos, text.length); - $('#' + id).val(textBefore + '\r\n[*] ' + textAfter); + $('#' + id).val(textBefore + '\r\n[*] ' + textAfter).trigger('change'); setCaretPosition(text, caretPos + 5); return true; }