about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authortakayamaki <fsgiko@gmail.com>2018-10-19 07:00:19 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-10-19 00:00:19 +0200
commitbebe8ec887ba67c51353e09d7758819b117bf62d (patch)
treeb63dafb9362849756d2e3ed18382e4883e1fa806 /app/javascript
parente5762875a47c63243717187fb79148ccc6bd94c7 (diff)
fix: initial state of PrivacyDropdown is should not be null (#9008)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/compose/components/privacy_dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js
index 7b5482f05..5698765d9 100644
--- a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js
+++ b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js
@@ -164,7 +164,7 @@ class PrivacyDropdown extends React.PureComponent {
 
   state = {
     open: false,
-    placement: null,
+    placement: 'bottom',
   };
 
   handleToggle = ({ target }) => {