Skip to content

Commit 3268978

Browse files
committed
Revert "makes scrollbar work with custom scrollbar plugin, fixes #308"
This reverts commit 8cc74e5.
1 parent 6cbd40b commit 3268978

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,7 @@ $.widget("ui.selectmenu", {
261261
return true;
262262
})
263263
// this allows for using the scrollbar in an overflowed list
264-
.bind( 'mousedown.selectmenu mouseup.selectmenu', function(e) {
265-
// supports custom scroll bar and other plugins which wrap the selectmenu content
266-
if (e.target.hasAttribute('href') && e.target.hash==='#nogo') {
267-
return false;
268-
}
269-
});
264+
.bind( 'mousedown.selectmenu mouseup.selectmenu', function() { return false; });
270265

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

0 commit comments

Comments
 (0)