about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-12-17 07:55:02 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-12-16 23:55:02 +0100
commit09a72add0e98c3aebe82c417ecda01bed9596b20 (patch)
treef1759886d392cb361a62e5afb09fc6aa83e75cb9
parentf4906f2cac9ad94bb9413365ede058d457eb6dd1 (diff)
Fix tooltip messages of multiple poll switcher are reversed (#12616)
-rw-r--r--app/javascript/mastodon/features/compose/components/poll_form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/compose/components/poll_form.js b/app/javascript/mastodon/features/compose/components/poll_form.js
index e9bbb4ba4..01df31d3a 100644
--- a/app/javascript/mastodon/features/compose/components/poll_form.js
+++ b/app/javascript/mastodon/features/compose/components/poll_form.js
@@ -82,8 +82,8 @@ class Option extends React.PureComponent {
             onKeyPress={this.handleCheckboxKeypress}
             role='button'
             tabIndex='0'
-            title={intl.formatMessage(isPollMultiple ? messages.switchToMultiple : messages.switchToSingle)}
-            aria-label={intl.formatMessage(isPollMultiple ? messages.switchToMultiple : messages.switchToSingle)}
+            title={intl.formatMessage(isPollMultiple ? messages.switchToSingle : messages.switchToMultiple)}
+            aria-label={intl.formatMessage(isPollMultiple ? messages.switchToSingle : messages.switchToMultiple)}
           />
 
           <AutosuggestInput