mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Another use case for focusComposer() is if the user is
already inside a topic but another component (such as the
floating chat window) needs to open the composer. This
commit also fixes the appendText option to only prepend
2 new lines if there is text before the text to be appended.
Follow up 7850ee318f