Skip to content

Commit

Permalink
Fix problem when reading reverse user option (fixes #59)
Browse files Browse the repository at this point in the history
  • Loading branch information
antennaio committed Feb 17, 2016
1 parent 049d97d commit 2735f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.barrating.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@

// return a jQuery function name depending on the 'reverse' setting
var nextAllorPreviousAll = function() {
if (self.options.reverse) {
if (getData('userOptions').reverse) {
return 'nextAll';
} else {
return 'prevAll';
Expand Down

0 comments on commit 2735f41

Please sign in to comment.