]> cat aescling's git repositories - mastodon.git/commit
Fix composer not getting focus after reply confirmation dialog (#9602)
authorThibG <thib@sitedethib.com>
Fri, 21 Dec 2018 17:52:41 +0000 (18:52 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 21 Dec 2018 17:52:41 +0000 (18:52 +0100)
commita6079a42b66a7cfab4b5ef5ba72b020fe98b5d54
treec42942ebb6af508b1c0757d3355c17742429ae29
parentde3cecf37a1d6865063c88b2eae5431625a296b2
Fix composer not getting focus after reply confirmation dialog (#9602)

The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
app/javascript/mastodon/components/modal_root.js