Skip to content

Commit

Permalink
issue #20 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tero Piirainen committed May 1, 2010
1 parent ca244d1 commit 9d3461a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scrollable/scrollable.js
Expand Up @@ -222,7 +222,7 @@
var prev = find(root, conf.prev).click(function() { self.prev(); }),
next = find(root, conf.next).click(function() { self.next(); });

if (!conf.circular && self.getSize() > 2) {
if (!conf.circular && self.getSize() > 1) {

self.onBeforeSeek(function(e, i) {
prev.toggleClass(conf.disabledClass, i <= 0);
Expand Down

0 comments on commit 9d3461a

Please sign in to comment.