Skip to content

Commit

Permalink
Merge pull request kenwheeler#2069 from boynet/master
Browse files Browse the repository at this point in the history
swapping keyboard arrow pressing in rtl
  • Loading branch information
simeydotme committed Feb 1, 2016
2 parents 7abc8d9 + 9997c7b commit a06adb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slick/slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -1425,13 +1425,13 @@
if (event.keyCode === 37 && _.options.accessibility === true) {
_.changeSlide({
data: {
message: 'previous'
message: _.options.rtl === true ? 'next' : 'previous'
}
});
} else if (event.keyCode === 39 && _.options.accessibility === true) {
_.changeSlide({
data: {
message: 'next'
message: _.options.rtl === true ? 'previous' : 'next'
}
});
}
Expand Down

0 comments on commit a06adb5

Please sign in to comment.