diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-12-10 19:39:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 19:39:02 +0100 |
commit | 77e7b33deabf2d3827c65313f5d5edd5a1bd6828 (patch) | |
tree | faf7dba3f2b87a23cfdb39dcf2d09e4ab2cc9bf6 /app/javascript | |
parent | 17159625b3e2c6d94509c0c2879ca80efbac6846 (diff) |
Revert "Fix an eslint warning (#12426)" (#12596)
This reverts commit 054ef83fc5808596643dd366286b4e85446b850c.
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/compose/components/poll_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/poll_form.js b/app/javascript/mastodon/features/compose/components/poll_form.js index 81ab0ec1a..e9bbb4ba4 100644 --- a/app/javascript/mastodon/features/compose/components/poll_form.js +++ b/app/javascript/mastodon/features/compose/components/poll_form.js @@ -155,7 +155,7 @@ class PollForm extends ImmutablePureComponent { <div className='poll__footer'> <button disabled={options.size >= 4} className='button button-secondary' onClick={this.handleAddOption}><Icon id='plus' /> <FormattedMessage {...messages.add_option} /></button> - <select value={expiresIn} onBlur={this.handleSelectDuration}> + <select value={expiresIn} onChange={this.handleSelectDuration}> <option value={300}>{intl.formatMessage(messages.minutes, { number: 5 })}</option> <option value={1800}>{intl.formatMessage(messages.minutes, { number: 30 })}</option> <option value={3600}>{intl.formatMessage(messages.hours, { number: 1 })}</option> |