]> cat aescling's git repositories - mastodon.git/commit
Extract columns area from UI component (#6650)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Tue, 6 Mar 2018 06:45:31 +0000 (15:45 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 6 Mar 2018 06:45:31 +0000 (07:45 +0100)
commita07cfee644a6b854c977903775e083c2a3d827b8
treefb7365a0443b944b42b5d20a13242e514d33b3eb
parent13cf92df271e4459ca9122ec7496fa8208864727
Extract columns area from UI component (#6650)

UI component used to toggle isComposing state by directly manipulating the
DOM element to avoid the expensive rendering.

However, it is hacky, and is not effective for other states. Instead,
this change makes the rendering cheaper by extracting the huge columns
area.
app/javascript/mastodon/features/ui/index.js