Skip to content

Commit dd00f7f

Browse files
committed
Merge pull request jquery#256 from dcneiner/button-blur
Fixed #6242
2 parents 523790b + 8df834f commit dd00f7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/jquery.ui.button.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ $.widget( "ui.button", {
185185
// $.Widget.prototype._setOptionDisabled so it's easy to proxy and can
186186
// be overridden by individual plugins
187187
this._setOption( "disabled", options.disabled );
188+
this._resetButton();
188189
},
189190

190191
_determineButtonType: function() {
@@ -250,6 +251,7 @@ $.widget( "ui.button", {
250251
} else {
251252
this.element.removeAttr( "disabled" );
252253
}
254+
return;
253255
}
254256
this._resetButton();
255257
},

0 commit comments

Comments
 (0)