We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f97faf commit 9c3b672Copy full SHA for 9c3b672
ui/jquery.ui.selectmenu.js
@@ -744,7 +744,7 @@ $.widget("ui.selectmenu", {
744
_disabled: function( elem ) {
745
return $( elem ).hasClass( 'ui-state-disabled' );
746
},
747
-
+
748
_toggleOption: function( index, flag ) {
749
var optionElem = this._optionLis.eq( index );
750
if ( optionElem ) {
@@ -762,7 +762,7 @@ $.widget("ui.selectmenu", {
762
// true = enabled, false = disabled
763
_toggleOptgroup: function( index, flag ) {
764
var optGroupElem = this.list.find( 'li.ui-selectmenu-group-' + index );
765
- if ( optGroupElem ) {
+ if ( optGroupElem ) {
766
optGroupElem
767
.toggleClass( 'ui-state-disabled', flag )
768
.attr( "aria-disabled", !flag );
0 commit comments