From: Felix Nagel Date: Fri, 23 Nov 2012 22:41:12 +0000 (+0100) Subject: fixed: trim trailing X-Git-Tag: selectmenu_v1.4.0~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9c3b6725f07ee689ed49330978c2fbaaab6f0689;p=jquery-ui.git fixed: trim trailing --- diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index c5f6d30db..b73c91d02 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -744,7 +744,7 @@ $.widget("ui.selectmenu", { _disabled: function( elem ) { return $( elem ).hasClass( 'ui-state-disabled' ); }, - + _toggleOption: function( index, flag ) { var optionElem = this._optionLis.eq( index ); if ( optionElem ) { @@ -762,7 +762,7 @@ $.widget("ui.selectmenu", { // true = enabled, false = disabled _toggleOptgroup: function( index, flag ) { var optGroupElem = this.list.find( 'li.ui-selectmenu-group-' + index ); - if ( optGroupElem ) { + if ( optGroupElem ) { optGroupElem .toggleClass( 'ui-state-disabled', flag ) .attr( "aria-disabled", !flag );