From 5e9ad9b434b867ba7339a87c35c2d1cf96e5c005 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Mon, 29 Apr 2013 22:15:29 +0200 Subject: [PATCH] Selectmenu: blank before comment --- ui/jquery.ui.selectmenu.js | 1 + 1 file changed, 1 insertion(+) 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 } ); -- 2.39.5