]> cat aescling's git repositories - mastodon.git/commit
Fix: Prevent submission using same logic as submit button disabling. (#6993)
authorEmelia Smith <ThisIsMissEm@users.noreply.github.com>
Sun, 1 Apr 2018 20:19:43 +0000 (22:19 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 1 Apr 2018 20:19:43 +0000 (22:19 +0200)
commit6a895e1ab3d69cd018423460518a1e16307999ad
tree7ac966e3fac03474530f7fb791ccde2ce4256bd8
parent993ce0e5a7d86330d1ac7a9123735d8a218652b3
Fix: Prevent submission using same logic as submit button disabling. (#6993)

This prevents submission through ctrl/cmd+enter when the submit button is disabled.
app/javascript/mastodon/features/compose/components/compose_form.js