]> source.dussan.org Git - jquery-ui.git/commitdiff
improved: rework enable / enable option setting (follow-up)
authorFelix Nagel <info@felixnagel.com>
Sat, 7 Sep 2013 17:16:02 +0000 (19:16 +0200)
committerFelix Nagel <info@felixnagel.com>
Sat, 7 Sep 2013 17:16:02 +0000 (19:16 +0200)
ui/jquery.ui.selectmenu.js

index e3c8c4d94279e9bef685f5c04e1d526b8fdaea94..7be7aa9ee24940202dcec6caf97b90ebf55b5a34 100644 (file)
@@ -743,7 +743,7 @@ $.widget("ui.selectmenu", {
                if ( elements ) {
                        elements
                                .toggleClass( 'ui-state-disabled', !flag )
-                               .attr( "aria-disabled", flag );
+                               .attr( "aria-disabled", !flag );
                                
                        if ( flag ) {
                                element.removeAttr( "disabled" );