mirror of
https://github.com/friendica/friendica
synced 2025-04-22 15:10:12 +00:00
Add autosize call for all external textarea value changes
This commit is contained in:
parent
5c3abe0ca6
commit
f15bb6c516
5 changed files with 12 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue