We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86eaa30 commit bc85742Copy full SHA for bc85742
ui/jquery.ui.widget.js
@@ -355,10 +355,10 @@ $.Widget.prototype = {
355
},
356
357
enable: function() {
358
- return this._setOption( "disabled", false );
+ return this._setOptions({ disabled: false });
359
360
disable: function() {
361
- return this._setOption( "disabled", true );
+ return this._setOptions({ disabled: true });
362
363
364
_on: function( suppressDisabledCheck, element, handlers ) {
0 commit comments