Permalink
Browse files

In case of nested scrollbar-panes the content of all scrollbar-panes …

…got attached to the root pane.
  • Loading branch information...
1 parent dddeaad commit d80ac1d38fc78baeb632758a9d458a322d432a33 @khujo committed Sep 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.scroll.js
View
@@ -495,7 +495,7 @@ Changelog:
// Remove scrollbar dom elements
//
unscrollbar: function() {
- var holder = this.container.find('.scrollbar-pane').contents();
+ var holder = this.container.find('.scrollbar-pane :first').contents();
this.container.empty();
this.container.append(holder);
this.container.attr('style','');

0 comments on commit d80ac1d

Please sign in to comment.