Skip to content

Commit

Permalink
Merge pull request #1345 from jackunion/issue_492
Browse files Browse the repository at this point in the history
fixes #492
  • Loading branch information
heff committed Jul 28, 2014
2 parents 5ef0da4 + bb93a18 commit 951370d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ vjs.Slider.prototype.onFocus = function(){
};

vjs.Slider.prototype.onKeyPress = function(event){
if (event.which == 37) { // Left Arrow
if (event.which == 37 || event.which == 40) { // Left and Down Arrows
event.preventDefault();
this.stepBack();
} else if (event.which == 39) { // Right Arrow
} else if (event.which == 38 || event.which == 39) { // Up and Right Arrows
event.preventDefault();
this.stepForward();
}
Expand Down

0 comments on commit 951370d

Please sign in to comment.