Browse Source

Fixed improper dropdown func binding for #293 + toot button spacing

closed-social-glitch-2
kibigo! 6 years ago
parent
commit
6932b464e6
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/components/dropdown_menu.js
  2. +1
    -0
      app/javascript/flavours/glitch/features/composer/publisher/index.js

+ 1
- 1
app/javascript/flavours/glitch/components/dropdown_menu.js View File

@ -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
),
});

+ 1
- 0
app/javascript/flavours/glitch/features/composer/publisher/index.js View File

@ -85,6 +85,7 @@ export default function ComposerPublisher ({
unlisted: 'unlock-alt',
}[privacy]}
/>
{' '}
<FormattedMessage {...messages.publish} />
</span>
);

Loading…
Cancel
Save