mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +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
|
@ -300,6 +300,13 @@ $(document).ready(function(){
|
|||
});
|
||||
});
|
||||
|
||||
/*
|
||||
* This event listeners ensures that the textarea size is updated event if the
|
||||
* value is changed externally (textcomplete, insertFormatting, fbrowser...)
|
||||
*/
|
||||
$(document).on('change', 'textarea', function(event) {
|
||||
autosize.update(event.target);
|
||||
});
|
||||
});
|
||||
|
||||
function openClose(theID) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue