Skip to content
Permalink
Browse files

Selectmenu: do not follow anchor link when item is clicked

  • Loading branch information
fnagel committed Sep 25, 2013
1 parent fd776f4 commit 12dba998f18cef1d77b4e90249476cf64498d734
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/jquery.ui.selectmenu.js
@@ -122,6 +122,7 @@ $.widget( "ui.selectmenu", {
select: function( event, ui ) {
var item = ui.item.data( "ui-selectmenu-item" );

event.preventDefault();
that._select( item, event );
},
focus: function( event, ui ) {

0 comments on commit 12dba99

Please sign in to comment.
You can’t perform that action at this time.