From d87d70e89a01953ec10fff3e518adc4ab5fd52d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Thu, 6 Jul 2017 13:37:15 +0200 Subject: [PATCH] Fixed js type error in advanced_options_dropdown.js --- .../features/compose/components/advanced_options_dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ada5dcbd9d..aea810b669 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 (