diff options
author | Ondřej Hruška <ondra@ondrovo.com> | 2017-07-06 13:37:15 +0200 |
---|---|---|
committer | Gô Shoemake <marrus-sh@users.noreply.github.com> | 2017-07-06 14:46:45 -0700 |
commit | d87d70e89a01953ec10fff3e518adc4ab5fd52d2 (patch) | |
tree | 2d154ef03dd195141375c78c65346b1f512d96e7 | |
parent | 0c7ee5c79208206dad6dcf9a34b10d2ec3e75f15 (diff) |
Fixed js type error in advanced_options_dropdown.js
-rw-r--r-- | app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js b/app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js index ada5dcbd9..aea810b66 100644 --- a/app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js +++ b/app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js @@ -75,7 +75,7 @@ export default class AdvancedOptionsDropdown extends React.PureComponent { const anyEnabled = values.some((enabled) => enabled); const optionElems = options.map((option) => { - const active = values.get(option.key) ? 'active' : ''; + const active = values.get(option.key); return ( <div role='button' className='advanced-options-dropdown__option' key={option.key} > <div className='advanced-options-dropdown__option__toggle'> |