Make the music indicator a proper button

pull/1/head
Tristan Daniël Maat 2020-05-30 21:04:31 +01:00
parent 95211c672a
commit f1c2db00e1
Signed by: tlater
GPG Key ID: 49670FD774E43268
1 changed files with 4 additions and 3 deletions

View File

@ -23,8 +23,8 @@ class Indicator extends React.Component<Props, {}> {
render() {
let classes = classNames({
btn: true,
"col-auto": true,
"text-center": true,
fas: true,
"fa-muted": this.props.muted,
"fa-play": this.props.playing,
@ -32,11 +32,12 @@ class Indicator extends React.Component<Props, {}> {
});
return (
<div
<button
type="button"
id="playerIndicator"
onClick={this.click.bind(this)}
className={classes}
></div>
></button>
);
}
}