Skip to content

Commit

Permalink
chore: syntax tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sampotts committed Apr 20, 2022
1 parent e3acba5 commit e7621be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/js/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -1525,9 +1525,7 @@ const controls = {
pane,
'keydown',
(event) => {
if (event.key !== 'ArrowLeft') {
return;
}
if (event.key !== 'ArrowLeft') return;

// Prevent seek
event.preventDefault();
Expand Down

0 comments on commit e7621be

Please sign in to comment.