about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/components/dropdown_menu.js2
-rw-r--r--app/javascript/flavours/glitch/features/composer/publisher/index.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/dropdown_menu.js b/app/javascript/flavours/glitch/components/dropdown_menu.js
index 706390c92..7ba7fb22b 100644
--- a/app/javascript/flavours/glitch/components/dropdown_menu.js
+++ b/app/javascript/flavours/glitch/components/dropdown_menu.js
@@ -137,7 +137,7 @@ export default class Dropdown extends React.PureComponent {
           (item, i) => item ? {
             ...item,
             name: `${item.text}-${i}`,
-            onClick: this.handleItemClick.bind(i),
+            onClick: this.handleItemClick.bind(this, i),
           } : null
         ),
       });
diff --git a/app/javascript/flavours/glitch/features/composer/publisher/index.js b/app/javascript/flavours/glitch/features/composer/publisher/index.js
index f54fd68b7..5ded26f80 100644
--- a/app/javascript/flavours/glitch/features/composer/publisher/index.js
+++ b/app/javascript/flavours/glitch/features/composer/publisher/index.js
@@ -85,6 +85,7 @@ export default function ComposerPublisher ({
                     unlisted: 'unlock-alt',
                   }[privacy]}
                 />
+                {' '}
                 <FormattedMessage {...messages.publish} />
               </span>
             );