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/components/picture_in_picture_placeholder.jsx | |
parent | a425915ce7d1148e9505c87889936c4c497061dd (diff) |
Ensure tabIndex is number instead of string (#24409)
Diffstat (limited to 'app/javascript/mastodon/components/picture_in_picture_placeholder.jsx')
-rw-r--r-- | app/javascript/mastodon/components/picture_in_picture_placeholder.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/picture_in_picture_placeholder.jsx b/app/javascript/mastodon/components/picture_in_picture_placeholder.jsx index c8aa8f757..6322b1c66 100644 --- a/app/javascript/mastodon/components/picture_in_picture_placeholder.jsx +++ b/app/javascript/mastodon/components/picture_in_picture_placeholder.jsx @@ -58,7 +58,7 @@ class PictureInPicturePlaceholder extends React.PureComponent { const { height } = this.state; return ( - <div ref={this.setRef} className='picture-in-picture-placeholder' style={{ height }} role='button' tabIndex='0' onClick={this.handleClick}> + <div ref={this.setRef} className='picture-in-picture-placeholder' style={{ height }} role='button' tabIndex={0} onClick={this.handleClick}> <Icon id='window-restore' /> <FormattedMessage id='picture_in_picture.restore' defaultMessage='Put it back' /> </div> |