diff options
author | Felix Nagel <info@felixnagel.com> | 2013-04-29 22:15:29 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-04-29 22:15:29 +0200 |
commit | 5e9ad9b434b867ba7339a87c35c2d1cf96e5c005 (patch) | |
tree | 6408287a803d048a85a653472f6545330f780928 /ui/jquery.ui.selectmenu.js | |
parent | 00ab4979238f1ed71dba8ed69e30ed467fb24641 (diff) | |
download | jquery-ui-5e9ad9b434b867ba7339a87c35c2d1cf96e5c005.tar.gz jquery-ui-5e9ad9b434b867ba7339a87c35c2d1cf96e5c005.zip |
Selectmenu: blank before comment
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 54a32592b..ae910f8c9 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -133,6 +133,7 @@ $.widget( "ui.selectmenu", { }, focus: function( event, ui ) { var item = ui.item.data( "ui-selectmenu-item" ); + // prevent inital focus from firing and checks if its a newly focused item if ( !that.isOpen && that.focus !== undefined && item.index !== that.focus ) { that._trigger( "focus", event, { item: item } ); |