Commit 0627cdaf authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Benjamin Neff

Use autosize in modals

Fixes #7338 and missing autosize in conversation forms on the profile page
and the contacts page. Regression from #6674.

closes #7339
parent e3c9e9c9
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
* Update comment in database example config [#7282](https://github.com/diaspora/diaspora/pull/7282) * Update comment in database example config [#7282](https://github.com/diaspora/diaspora/pull/7282)
* Make the \#newhere post public again [#7311](https://github.com/diaspora/diaspora/pull/7311) * Make the \#newhere post public again [#7311](https://github.com/diaspora/diaspora/pull/7311)
* Remove whitespace from author link [#7330](https://github.com/diaspora/diaspora/pull/7330) * Remove whitespace from author link [#7330](https://github.com/diaspora/diaspora/pull/7330)
* Fix autosize in modals [#7339](https://github.com/diaspora/diaspora/pull/7339)
## Features ## Features
* Add support for [Liberapay](https://liberapay.com) donations [#7290](https://github.com/diaspora/diaspora/pull/7290) * Add support for [Liberapay](https://liberapay.com) donations [#7290](https://github.com/diaspora/diaspora/pull/7290)
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
modalBody.load(url, function(){ modalBody.load(url, function(){
$(id).find("#modalWaiter").remove(); $(id).find("#modalWaiter").remove();
autosize($("textarea", modalBody));
$(id).trigger("modal:loaded"); $(id).trigger("modal:loaded");
}); });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment