]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed: trim trailing
authorFelix Nagel <info@felixnagel.com>
Fri, 23 Nov 2012 22:41:12 +0000 (23:41 +0100)
committerFelix Nagel <info@felixnagel.com>
Fri, 23 Nov 2012 22:41:12 +0000 (23:41 +0100)
ui/jquery.ui.selectmenu.js

index c5f6d30db4b6570f00aa57931c2fe43b90f8936c..b73c91d02d52a4f4cd12a8e31ec9c67d341f2688 100644 (file)
@@ -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 );