r2773 - removed unused if condition

r2773 - removed unused if condition


Author: scottjehl
Date: Mon Jun 15 10:31:43 2009
New Revision: 2773
Modified:
branches/labs/selectmenu/ui.selectmenu.js
Log:
removed unused if condition
Modified: branches/labs/selectmenu/ui.selectmenu.js
==============================================================================
--- branches/labs/selectmenu/ui.selectmenu.js    (original)
+++ branches/labs/selectmenu/ui.selectmenu.js    Mon Jun 15 10:31:43 2009
@@ -176,9 +176,7 @@
        //set menu width to either menuWidth option value, width option value,
or select width
        if(o.style == 'dropdown'){ this.list.width( (o.menuWidth) ?
o.menuWidth : ((o.width) ? o.width : selectWidth)); }
        else { this.list.width( (o.menuWidth) ? o.menuWidth : ((o.width) ?
o.width - o.handleWidth : selectWidth - o.handleWidth)); }    
-        
-        if(this.list.width() > this.newelement.width()){ }
-        
+                
        //transfer menu click to menu button
        this.list
        .keydown(function(event){