Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for an issue where the right hand arrow wasn't disabling when it …
…should...
  • Loading branch information
vitch committed Sep 13, 2010
1 parent fcd6608 commit 95ad5a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/jquery.jscrollpane.js
Expand Up @@ -695,7 +695,7 @@
horizontalDragPosition = destX;

var isAtLeft = horizontalDragPosition == 0,
isAtRight = horizontalDragPosition == dragMaxY,
isAtRight = horizontalDragPosition == dragMaxX,
percentScrolled = destX / dragMaxX,
destLeft = -percentScrolled * (contentWidth - paneWidth);

Expand Down
2 changes: 1 addition & 1 deletion script/jquery.jscrollpane.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 95ad5a1

Please sign in to comment.