Skip to content

Commit d80ac1d

Browse files
committed
In case of nested scrollbar-panes the content of all scrollbar-panes got attached to the root pane.
1 parent dddeaad commit d80ac1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.scroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ Changelog:
495495
// Remove scrollbar dom elements
496496
//
497497
unscrollbar: function() {
498-
var holder = this.container.find('.scrollbar-pane').contents();
498+
var holder = this.container.find('.scrollbar-pane :first').contents();
499499
this.container.empty();
500500
this.container.append(holder);
501501
this.container.attr('style','');

0 commit comments

Comments
 (0)