]> cat aescling's git repositories - mastodon.git/commit
Hide search from Compose on mobile devices (#7077)
authorEmelia Smith <ThisIsMissEm@users.noreply.github.com>
Sun, 8 Apr 2018 16:25:08 +0000 (18:25 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 8 Apr 2018 16:25:08 +0000 (18:25 +0200)
commit0893b1669548858daee79ab1260fb98646a0b3fa
tree6fc51a4c0cce55b20a7c2d6dc890d3fc80e8ae2f
parentc9cbb8de703e321c0d152813a2e22471ffe5eef7
Hide search from Compose on mobile devices (#7077)

* Hide search from Compose on mobile devices

We're presently seeing large numbers of users accidentally tooting what they're trying to search for. This PR hides the search form from the Compose view, now that we have a dedicated "search" tab on mobile.

* Don't "showSearch" on mobile if we're not currently searching (isSearchPage)
app/javascript/mastodon/features/compose/index.js