Skip to content

Commit 6bcbe70

Browse files
committed
minor fixes
1 parent f602546 commit 6bcbe70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

js/webui/src/elements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const repeatInterval = 500;
7474

7575
function isLeftButtonOrTouch(e)
7676
{
77-
return e.button === 0 || typeof e.touches != 'undefined';
77+
return e.button === 0 || typeof e.touches !== 'undefined';
7878
}
7979

8080
export class RepeatingButton extends React.PureComponent

js/webui/src/volume_control.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ class VolumeControl_ extends React.PureComponent
4949
this.props.onAfterMuteClick();
5050
}
5151

52-
handleVolumeUp(e)
52+
handleVolumeUp()
5353
{
5454
this.context.playerModel.volumeStep(1);
5555
}
5656

57-
handleVolumeDown(e)
57+
handleVolumeDown()
5858
{
5959
this.context.playerModel.volumeStep(-1);
6060
}

0 commit comments

Comments
 (0)