]> cat aescling's git repositories - mastodon.git/commit
Fix composer not getting focus after reply confirmation dialog
authorThibaut Girka <thib@sitedethib.com>
Fri, 21 Dec 2018 17:40:50 +0000 (18:40 +0100)
committerThibG <thib@sitedethib.com>
Fri, 21 Dec 2018 19:00:49 +0000 (20:00 +0100)
commit1a3088364fe602bb48647d78dda440b174424e17
treee9459e1aaa07e630a6ace41a26a1ccc07bfcd49c
parent0605c004a54640cd1511558e5ded15958174223c
Fix composer not getting focus after reply confirmation dialog

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/flavours/glitch/components/modal_root.js