Skip to content

Commit

Permalink
Revert "makes scrollbar work with custom scrollbar plugin, fixes #308"
Browse files Browse the repository at this point in the history
This reverts commit 8cc74e5.
  • Loading branch information
fnagel committed Nov 7, 2013
1 parent 6cbd40b commit 3268978
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ui/jquery.ui.selectmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,7 @@ $.widget("ui.selectmenu", {
return true;
})
// this allows for using the scrollbar in an overflowed list
.bind( 'mousedown.selectmenu mouseup.selectmenu', function(e) {
// supports custom scroll bar and other plugins which wrap the selectmenu content
if (e.target.hasAttribute('href') && e.target.hash==='#nogo') {
return false;
}
});
.bind( 'mousedown.selectmenu mouseup.selectmenu', function() { return false; });

// needed when window is resized
$( window ).bind( "resize.selectmenu-" + this.ids[ 0 ], $.proxy( self.close, this ) );
Expand Down

0 comments on commit 3268978

Please sign in to comment.