mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-16 15:16:38 +00:00
Fixed improper dropdown func binding for #293 + toot button spacing
This commit is contained in:
parent
ad10a80a99
commit
6932b464e6
|
@ -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
|
||||
),
|
||||
});
|
||||
|
|
|
@ -85,6 +85,7 @@ export default function ComposerPublisher ({
|
|||
unlisted: 'unlock-alt',
|
||||
}[privacy]}
|
||||
/>
|
||||
{' '}
|
||||
<FormattedMessage {...messages.publish} />
|
||||
</span>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue