mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-19 16:53:16 +00:00
increase poll option number
This commit is contained in:
parent
756e660c23
commit
8235844796
2 changed files with 2 additions and 2 deletions
|
|
@ -157,7 +157,7 @@ class PollForm extends ImmutablePureComponent {
|
|||
</ul>
|
||||
|
||||
<div className='poll__footer'>
|
||||
<button disabled={options.size >= 4} className='button button-secondary' onClick={this.handleAddOption}><Icon id='plus' /> <FormattedMessage {...messages.add_option} /></button>
|
||||
<button disabled={options.size >= 12} className='button button-secondary' onClick={this.handleAddOption}><Icon id='plus' /> <FormattedMessage {...messages.add_option} /></button>
|
||||
|
||||
{/* eslint-disable-next-line jsx-a11y/no-onchange */}
|
||||
<select value={expiresIn} onChange={this.handleSelectDuration}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue