diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-04-04 10:33:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 16:33:44 +0200 |
commit | ec0c104bf25f2689c31bb79f9f447be1a9b3da7f (patch) | |
tree | 82f4775aa006dcbaf59769258449a14133c600db /app/javascript/mastodon/features/list_timeline/index.jsx | |
parent | a425915ce7d1148e9505c87889936c4c497061dd (diff) |
Ensure tabIndex is number instead of string (#24409)
Diffstat (limited to 'app/javascript/mastodon/features/list_timeline/index.jsx')
-rw-r--r-- | app/javascript/mastodon/features/list_timeline/index.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/list_timeline/index.jsx b/app/javascript/mastodon/features/list_timeline/index.jsx index d0ba2a186..c0b9a62ff 100644 --- a/app/javascript/mastodon/features/list_timeline/index.jsx +++ b/app/javascript/mastodon/features/list_timeline/index.jsx @@ -176,11 +176,11 @@ class ListTimeline extends React.PureComponent { multiColumn={multiColumn} > <div className='column-settings__row column-header__links'> - <button type='button' className='text-btn column-header__setting-btn' tabIndex='0' onClick={this.handleEditClick}> + <button type='button' className='text-btn column-header__setting-btn' tabIndex={0} onClick={this.handleEditClick}> <Icon id='pencil' /> <FormattedMessage id='lists.edit' defaultMessage='Edit list' /> </button> - <button type='button' className='text-btn column-header__setting-btn' tabIndex='0' onClick={this.handleDeleteClick}> + <button type='button' className='text-btn column-header__setting-btn' tabIndex={0} onClick={this.handleDeleteClick}> <Icon id='trash' /> <FormattedMessage id='lists.delete' defaultMessage='Delete list' /> </button> </div> |