Skip to content
Permalink
Browse files

Selectmenu: blank before comment

  • Loading branch information...
fnagel committed Apr 29, 2013
1 parent 00ab497 commit 5e9ad9b434b867ba7339a87c35c2d1cf96e5c005
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/jquery.ui.selectmenu.js
@@ -133,6 +133,7 @@ $.widget( "ui.selectmenu", {
}, },
focus: function( event, ui ) { focus: function( event, ui ) {
var item = ui.item.data( "ui-selectmenu-item" ); var item = ui.item.data( "ui-selectmenu-item" );

// prevent inital focus from firing and checks if its a newly focused item // prevent inital focus from firing and checks if its a newly focused item
if ( !that.isOpen && that.focus !== undefined && item.index !== that.focus ) { if ( !that.isOpen && that.focus !== undefined && item.index !== that.focus ) {
that._trigger( "focus", event, { item: item } ); that._trigger( "focus", event, { item: item } );

0 comments on commit 5e9ad9b

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