Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Selectmenu: selected callback event fired twice when using mouse

  • Loading branch information...
commit b356e1e4e19abb5cbc97350d29d954e3a7ebd4b6 1 parent 058cba2
@fnagel fnagel authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 ui/jquery.ui.selectmenu.js
View
6 ui/jquery.ui.selectmenu.js
@@ -140,9 +140,9 @@ $.widget( "ui.selectmenu", {
if ( that.focus !== undefined ) {
if ( item.index != that.focus ) {
that._trigger( "focus", event, { item: item } );
- }
- if ( !that.isOpen ) {
- that._select( item, event );
+ if ( !that.isOpen ) {
+ that._select( item, event );
+ }
}
}
that.focus = item.index;
Please sign in to comment.
Something went wrong with that request. Please try again.