r2761 - reverted last - different approach necessary

r2761 - reverted last - different approach necessary


Author: scottjehl
Date: Mon Jun 15 08:13:29 2009
New Revision: 2761
Modified:
branches/labs/selectmenu/ui.selectmenu.js
Log:
reverted last - different approach necessary
Modified: branches/labs/selectmenu/ui.selectmenu.js
==============================================================================
--- branches/labs/selectmenu/ui.selectmenu.js    (original)
+++ branches/labs/selectmenu/ui.selectmenu.js    Mon Jun 15 08:13:29 2009
@@ -120,7 +120,7 @@
                    
$(this).parent().find('.ui-selectmenu-item-focus').removeClass('ui-selectmenu-item-focus
ui-state-hover');
                    
$(this).removeClass('ui-state-active').addClass('ui-selectmenu-item-focus
ui-state-hover');
                    //reset self._safemouseup if this isn't the selected option
-                    if(! $(this).is('.ui-selectmenu-item-selected') || self.o.style
== "dropdown" ){
+                    if(! $(this).is('.ui-selectmenu-item-selected') ){
                        self._safemouseup = true;
                    }
                })