Skip to content
Browse files

Take care of borders on the container

  • Loading branch information...
1 parent ca55dcd commit 084a66eb882bd5bbc032bd8abbb022870827d4b0 @bennyschudel committed Apr 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.scroll.js
View
2 jquery.scroll.js
@@ -225,7 +225,7 @@
this.handleContainer.css({
'position': 'absolute',
'top': this.handleArrowUp.outerHeight(true),
- 'height': (this.props.containerHeight - this.handleArrowUp.outerHeight(true) - this.handleArrowDown.outerHeight(true)) + 'px'
+ 'height': (this.props.containerHeight - (this.container.outerHeight(true) - this.container.height()) - this.handleArrowUp.outerHeight(true) - this.handleArrowDown.outerHeight(true)) + 'px'
});
this.handle.css({
'position': 'absolute',

0 comments on commit 084a66e

Please sign in to comment.
Something went wrong with that request. Please try again.